| Index: cc/layers/layer_impl_unittest.cc
|
| diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc
|
| index 5bbf4e2c52a956bfb66af0b9a308f850fe8736f4..9276166d485cf635d8e8c33f99839fb551ec2fc5 100644
|
| --- a/cc/layers/layer_impl_unittest.cc
|
| +++ b/cc/layers/layer_impl_unittest.cc
|
| @@ -139,7 +139,7 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) {
|
| EXECUTE_AND_VERIFY_ONLY_LAYER_CHANGED(
|
| root->SetContentsScale(arbitrary_number, arbitrary_number));
|
| EXECUTE_AND_VERIFY_ONLY_LAYER_CHANGED(root->SetDrawsContent(true));
|
| - EXECUTE_AND_VERIFY_ONLY_LAYER_CHANGED(root->SetBackgroundColor(SK_ColorGRAY));
|
| + EXECUTE_AND_VERIFY_ONLY_LAYER_CHANGED(root->SetBackgroundColor(arbitrary_color));
|
| EXECUTE_AND_VERIFY_ONLY_LAYER_CHANGED(
|
| root->SetBackgroundFilters(arbitrary_filters));
|
|
|
| @@ -261,7 +261,8 @@ TEST(LayerImplTest, VerifyNeedsUpdateDrawProperties) {
|
| VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(
|
| root->SetContentsScale(arbitrary_number, arbitrary_number));
|
| VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetDrawsContent(true));
|
| - VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetBackgroundColor(SK_ColorGRAY));
|
| + VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(
|
| + root->SetBackgroundColor(arbitrary_color));
|
| VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(
|
| root->SetBackgroundFilters(arbitrary_filters));
|
| VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetOpacity(arbitrary_number));
|
| @@ -288,7 +289,7 @@ TEST(LayerImplTest, VerifyNeedsUpdateDrawProperties) {
|
| root->SetContentsScale(arbitrary_number, arbitrary_number));
|
| VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetDrawsContent(true));
|
| VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(
|
| - root->SetBackgroundColor(SK_ColorGRAY));
|
| + root->SetBackgroundColor(arbitrary_color));
|
| VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(
|
| root->SetBackgroundFilters(arbitrary_filters));
|
| VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetOpacity(arbitrary_number));
|
|
|