| Index: cc/trees/layer_tree_impl_unittest.cc
|
| diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc
|
| index d5cdd3cff11459f737fa0ca34a52dd4f0d78cfd9..5554e1a90b93a6a1e14667317f6938e052e1d940 100644
|
| --- a/cc/trees/layer_tree_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_impl_unittest.cc
|
| @@ -2224,6 +2224,16 @@ TEST_F(LayerTreeImplTest, DeviceScaleFactorNeedsDrawPropertiesUpdate) {
|
| EXPECT_TRUE(host_impl().active_tree()->needs_update_draw_properties());
|
| }
|
|
|
| +TEST_F(LayerTreeImplTest, DeviceColorSpaceDoesNotNeedDrawPropertiesUpdate) {
|
| + host_impl().active_tree()->BuildPropertyTreesForTesting();
|
| + host_impl().active_tree()->SetDeviceColorSpace(
|
| + gfx::ColorSpace::CreateXYZD50());
|
| + host_impl().active_tree()->UpdateDrawProperties(false);
|
| + EXPECT_FALSE(host_impl().active_tree()->needs_update_draw_properties());
|
| + host_impl().active_tree()->SetDeviceColorSpace(gfx::ColorSpace::CreateSRGB());
|
| + EXPECT_FALSE(host_impl().active_tree()->needs_update_draw_properties());
|
| +}
|
| +
|
| TEST_F(LayerTreeImplTest, HitTestingCorrectLayerWheelListener) {
|
| host_impl().active_tree()->set_event_listener_properties(
|
| EventListenerClass::kMouseWheel, EventListenerProperties::kBlocking);
|
|
|