| Index: cc/layers/picture_layer.h
|
| diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
|
| index 78bb8f44644fa59aa0902207e8a9067792c3b14f..28f4f906c0fe9b1c80db633b3cdc0039436a9cec 100644
|
| --- a/cc/layers/picture_layer.h
|
| +++ b/cc/layers/picture_layer.h
|
| @@ -41,6 +41,9 @@ class CC_EXPORT PictureLayer : public Layer {
|
| ContentLayerClient* client() { return client_; }
|
|
|
| void SetHasGpuRasterizationHint(bool has_hint);
|
| + bool ShouldUseGpuRasterization() const;
|
| +
|
| + PicturePile* GetPicturePileForTesting() const { return pile_.get(); }
|
|
|
| protected:
|
| explicit PictureLayer(ContentLayerClient* client);
|
| @@ -57,7 +60,9 @@ class CC_EXPORT PictureLayer : public Layer {
|
| Region pile_invalidation_;
|
| gfx::Rect last_updated_visible_content_rect_;
|
| bool is_mask_;
|
| - bool has_gpu_rasterization_hint_;
|
| +
|
| + enum TriBool { TRIBOOL_UNKNOWN, TRIBOOL_FALSE, TRIBOOL_TRUE };
|
| + TriBool has_gpu_rasterization_hint_;
|
|
|
| int update_source_frame_number_;
|
|
|
|
|