Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 3bdd2a1fde3092474eb366b5a71d1edde9c21562..f0b8c1883992db3cfcb9fe533878fc71065e4ac0 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -5697,6 +5697,10 @@ TEST_F(LayerTreeHostImplTest, ForcedDrawToSoftwareDeviceBasicRender) { |
EXPECT_EQ(1, software_device->frames_began_); |
EXPECT_EQ(1, software_device->frames_ended_); |
+ |
+ // Call other API methods that are likely to hit NULL pointer in this mode. |
+ EXPECT_TRUE(host_impl_->AsValue()); |
+ EXPECT_TRUE(host_impl_->ActivationStateAsValue()); |
} |
} // namespace |