summaryrefslogtreecommitdiffstats
path: root/cc/playback/discardable_image_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/playback/discardable_image_map.h')
-rw-r--r--cc/playback/discardable_image_map.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/cc/playback/discardable_image_map.h b/cc/playback/discardable_image_map.h
index 68b8ac1..1e53011 100644
--- a/cc/playback/discardable_image_map.h
+++ b/cc/playback/discardable_image_map.h
@@ -21,16 +21,14 @@ class SkImage;
namespace cc {
-class Picture;
class DisplayItemList;
typedef std::pair<int, int> ImageMapKey;
typedef std::vector<skia::PositionImage> Images;
typedef base::hash_map<ImageMapKey, Images> ImageHashmap;
-// This class is used and owned by cc Picture class. It is used to gather images
-// which would happen after record. It takes in |cell_size| to decide how
-// big each grid cell should be.
+// This class is used to gather images which would happen after record. It takes
+// in |cell_size| to decide how big each grid cell should be.
class CC_EXPORT DiscardableImageMap {
public:
explicit DiscardableImageMap(const gfx::Size& cell_size);
@@ -48,7 +46,6 @@ class CC_EXPORT DiscardableImageMap {
// Default iterator constructor that is used as place holder for invalid
// Iterator.
Iterator();
- Iterator(const gfx::Rect& layer_rect, const Picture* picture);
Iterator(const gfx::Rect& layer_rect, const DisplayItemList* picture);
~Iterator();