| Index: cc/layers/picture_layer.h
|
| diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
|
| index 232dba23ba7236c5fac6f64e46202fa63829361b..2969ee1850650f8cc205c648b272802d44a17c69 100644
|
| --- a/cc/layers/picture_layer.h
|
| +++ b/cc/layers/picture_layer.h
|
| @@ -9,12 +9,12 @@
|
| #include "cc/debug/devtools_instrumentation.h"
|
| #include "cc/debug/micro_benchmark_controller.h"
|
| #include "cc/layers/layer.h"
|
| -#include "cc/resources/picture_pile.h"
|
| #include "cc/trees/occlusion_tracker.h"
|
|
|
| namespace cc {
|
|
|
| class ContentLayerClient;
|
| +class RecordingSource;
|
| class ResourceUpdateQueue;
|
|
|
| class CC_EXPORT PictureLayer : public Layer {
|
| @@ -39,7 +39,9 @@ class CC_EXPORT PictureLayer : public Layer {
|
|
|
| ContentLayerClient* client() { return client_; }
|
|
|
| - PicturePile* GetPicturePileForTesting() { return &pile_; }
|
| + RecordingSource* GetRecordingSourceForTesting() {
|
| + return recording_source_.get();
|
| + }
|
|
|
| protected:
|
| explicit PictureLayer(ContentLayerClient* client);
|
| @@ -50,13 +52,13 @@ class CC_EXPORT PictureLayer : public Layer {
|
|
|
| private:
|
| ContentLayerClient* client_;
|
| - PicturePile pile_;
|
| + scoped_ptr<RecordingSource> recording_source_;
|
| devtools_instrumentation::
|
| ScopedLayerObjectTracker instrumentation_object_tracker_;
|
| // Invalidation to use the next time update is called.
|
| InvalidationRegion pending_invalidation_;
|
| // Invalidation from the last time update was called.
|
| - Region pile_invalidation_;
|
| + Region recording_invalidation_;
|
| gfx::Rect last_updated_visible_content_rect_;
|
|
|
| int update_source_frame_number_;
|
|
|