diff options
author | vmpstr <vmpstr@chromium.org> | 2015-09-24 13:57:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-24 21:09:54 +0000 |
commit | e22c50891decd8dd2456244645eec3d90b87a453 (patch) | |
tree | d6f1985dbe705082abd1070df9d0ef4fe2e98004 /cc/playback/discardable_image_map.h | |
parent | 59aae2ac2535dd7c1ac1634c771a7638d52030aa (diff) | |
download | chromium_src-e22c50891decd8dd2456244645eec3d90b87a453.zip chromium_src-e22c50891decd8dd2456244645eec3d90b87a453.tar.gz chromium_src-e22c50891decd8dd2456244645eec3d90b87a453.tar.bz2 |
cc: Remove Picture.
This patch removes the cc::Picture class, since the display list
approach is the only one supported now.
Depends on https://codereview.chromium.org/1362663002/
BUG=533151
R=danakj, enne
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1365673004
Cr-Commit-Position: refs/heads/master@{#350661}
Diffstat (limited to 'cc/playback/discardable_image_map.h')
-rw-r--r-- | cc/playback/discardable_image_map.h | 7 |
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(); |