| Index: cc/test/fake_picture_layer.h
|
| diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h
|
| index 038e97543d9ad206f0750f812363b93bf481d5f8..8bf7569cc2a9d129438554ec23054f057f86874a 100644
|
| --- a/cc/test/fake_picture_layer.h
|
| +++ b/cc/test/fake_picture_layer.h
|
| @@ -42,6 +42,18 @@ class FakePictureLayer : public PictureLayer {
|
|
|
| void PushPropertiesTo(LayerImpl* layer) override;
|
|
|
| + void set_recorded_viewport(const gfx::Rect& recorded_viewport) {
|
| + inputs_.recorded_viewport = recorded_viewport;
|
| + }
|
| +
|
| + DisplayItemList* display_list() const { return inputs_.display_list.get(); }
|
| +
|
| + void set_force_unsuitable_for_gpu_rasterization(bool flag) {
|
| + force_unsuitable_for_gpu_rasterization_ = flag;
|
| + }
|
| +
|
| + bool IsSuitableForGpuRasterization() const override;
|
| +
|
| private:
|
| explicit FakePictureLayer(ContentLayerClient* client);
|
| FakePictureLayer(ContentLayerClient* client,
|
| @@ -51,6 +63,8 @@ class FakePictureLayer : public PictureLayer {
|
| int update_count_;
|
| size_t push_properties_count_;
|
| bool always_update_resources_;
|
| +
|
| + bool force_unsuitable_for_gpu_rasterization_;
|
| };
|
|
|
| } // namespace cc
|
|
|