Chromium Code Reviews| Index: cc/test/fake_picture_layer.cc |
| diff --git a/cc/test/fake_picture_layer.cc b/cc/test/fake_picture_layer.cc |
| index 2a5d2e9a77469e000486cf4d4d924731713deb43..2882c86154910a756d6daa4f50c9406b9f1dcef1 100644 |
| --- a/cc/test/fake_picture_layer.cc |
| +++ b/cc/test/fake_picture_layer.cc |
| @@ -33,6 +33,9 @@ bool FakePictureLayer::Update(ResourceUpdateQueue* queue, |
| void FakePictureLayer::PushPropertiesTo(LayerImpl* layer) { |
| PictureLayer::PushPropertiesTo(layer); |
| + PictureLayerImpl* layer_impl = static_cast<PictureLayerImpl*>(layer); |
| + // the tests expect a non-solid layer |
|
danakj
2014/09/10 18:46:40
Comments should be complete sentence including cap
hendrikw
2014/09/11 00:27:40
Acknowledged.
|
| + layer_impl->SetSolidColorState(false, SK_ColorBLACK); |
|
danakj
2014/09/10 18:46:40
This seems awkward. Maybe we should make FakeConte
hendrikw
2014/09/11 00:27:40
Hmm, well, the test does require a solid color to
danakj
2014/09/11 23:43:50
You need a layer with a solid color with a pile th
|
| push_properties_count_++; |
| } |