| Index: cc/layers/picture_layer_impl.h
|
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
|
| index 47d881dfdee8118f50177f9aa1e669a147bd32e7..57f08732059d4b49746a57863813f0a02d1bc48d 100644
|
| --- a/cc/layers/picture_layer_impl.h
|
| +++ b/cc/layers/picture_layer_impl.h
|
| @@ -150,6 +150,9 @@ class CC_EXPORT PictureLayerImpl
|
| virtual bool HasValidTilePriorities() const;
|
| bool AllTilesRequiredForActivationAreReadyToDraw() const;
|
|
|
| + void SetSolidColorState(bool is_solid_color, SkColor solid_color);
|
| + bool IsSolidColor() const { return is_solid_color_; }
|
| +
|
| protected:
|
| friend class LayerRasterTileIterator;
|
|
|
| @@ -231,6 +234,9 @@ class CC_EXPORT PictureLayerImpl
|
| gfx::Rect viewport_rect_for_tile_priority_;
|
| gfx::Transform screen_space_transform_for_tile_priority_;
|
|
|
| + bool is_solid_color_;
|
| + SkColor solid_color_;
|
| +
|
| friend class PictureLayer;
|
| DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
|
| };
|
|
|