| Index: cc/resources/pixel_ref_map.h
|
| diff --git a/cc/resources/pixel_ref_map.h b/cc/resources/pixel_ref_map.h
|
| index f50a841a4ce8ef5c7e25495830221d3ab2251c33..b2588096da4a839c83faddfb33a0aca3ebe8f1d7 100644
|
| --- a/cc/resources/pixel_ref_map.h
|
| +++ b/cc/resources/pixel_ref_map.h
|
| @@ -21,6 +21,7 @@
|
| namespace cc {
|
|
|
| class Picture;
|
| +class DisplayItemList;
|
|
|
| typedef std::pair<int, int> PixelRefMapKey;
|
| typedef std::vector<SkPixelRef*> PixelRefs;
|
| @@ -46,6 +47,7 @@
|
| // Iterator.
|
| Iterator();
|
| Iterator(const gfx::Rect& layer_rect, const Picture* picture);
|
| + Iterator(const gfx::Rect& layer_rect, const DisplayItemList* picture);
|
| ~Iterator();
|
|
|
| SkPixelRef* operator->() const {
|
| @@ -64,12 +66,14 @@
|
| }
|
|
|
| private:
|
| + void PointToFirstPixelRef(const gfx::Rect& query_rect);
|
| +
|
| static base::LazyInstance<PixelRefs> empty_pixel_refs_;
|
| const PixelRefMap* target_pixel_ref_map_;
|
| const PixelRefs* current_pixel_refs_;
|
| unsigned current_index_;
|
|
|
| - gfx::Rect layer_rect_;
|
| + gfx::Rect map_layer_rect_;
|
|
|
| gfx::Point min_point_;
|
| gfx::Point max_point_;
|
|
|