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 eda8ab3b9f2042974ade8767f3d62ad92750be5b..957483861d48e2e205c0d8f996210b1e0e27a1bb 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -5696,6 +5696,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 |