Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: cc/resources/pixel_ref_map.h

Issue 1047413003: Revert of Implement DisplayList GatherPixelRefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/picture_pile_impl_unittest.cc ('k') | cc/resources/pixel_ref_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/pixel_ref_map.h
diff --git a/cc/resources/pixel_ref_map.h b/cc/resources/pixel_ref_map.h
index b2588096da4a839c83faddfb33a0aca3ebe8f1d7..f50a841a4ce8ef5c7e25495830221d3ab2251c33 100644
--- a/cc/resources/pixel_ref_map.h
+++ b/cc/resources/pixel_ref_map.h
@@ -21,7 +21,6 @@
namespace cc {
class Picture;
-class DisplayItemList;
typedef std::pair<int, int> PixelRefMapKey;
typedef std::vector<SkPixelRef*> PixelRefs;
@@ -47,7 +46,6 @@
// Iterator.
Iterator();
Iterator(const gfx::Rect& layer_rect, const Picture* picture);
- Iterator(const gfx::Rect& layer_rect, const DisplayItemList* picture);
~Iterator();
SkPixelRef* operator->() const {
@@ -66,14 +64,12 @@
}
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 map_layer_rect_;
+ gfx::Rect layer_rect_;
gfx::Point min_point_;
gfx::Point max_point_;
« no previous file with comments | « cc/resources/picture_pile_impl_unittest.cc ('k') | cc/resources/pixel_ref_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698