| Index: cc/picture.h
|
| diff --git a/cc/picture.h b/cc/picture.h
|
| index b555eb048fa5914d5de08c512783aade42cac086..361578cf56711a28b4693769a71592cc2fa90aa3 100644
|
| --- a/cc/picture.h
|
| +++ b/cc/picture.h
|
| @@ -5,11 +5,15 @@
|
| #ifndef CC_PICTURE_H_
|
| #define CC_PICTURE_H_
|
|
|
| +#include <list>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "cc/cc_export.h"
|
| +#include "skia/ext/lazy_pixel_ref.h"
|
| #include "skia/ext/refptr.h"
|
| #include "third_party/skia/include/core/SkPicture.h"
|
| +#include "third_party/skia/include/core/SkPixelRef.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace cc {
|
| @@ -39,6 +43,9 @@ public:
|
| // Assumes contentsScale have already been applied.
|
| void Raster(SkCanvas* canvas);
|
|
|
| + void GatherPixelRefs(const gfx::Rect& rect,
|
| + std::list<skia::LazyPixelRef*>&);
|
| +
|
| private:
|
| Picture(gfx::Rect layer_rect);
|
| // This constructor assumes SkPicture is already ref'd and transfers
|
|
|