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

Unified Diff: cc/resources/display_item_list.cc

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/display_item_list.h ('k') | cc/resources/display_list_raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/display_item_list.cc
diff --git a/cc/resources/display_item_list.cc b/cc/resources/display_item_list.cc
index 26ff003f0e535b1b603f0b33e612b0675d50fdd5..f8ffbfd184b719d447447b35d58a867ec42d3940 100644
--- a/cc/resources/display_item_list.cc
+++ b/cc/resources/display_item_list.cc
@@ -143,14 +143,4 @@
"cc::DisplayItemList", this, AsValue());
}
-void DisplayItemList::GatherPixelRefs(const gfx::Size& grid_cell_size) {
- // This should be only called once, and only after CreateAndCacheSkPicture.
- DCHECK(picture_);
- DCHECK(!pixel_refs_);
- pixel_refs_ = make_scoped_ptr(new PixelRefMap(grid_cell_size));
- if (!picture_->willPlayBackBitmaps())
- return;
-
- pixel_refs_->GatherPixelRefsFromPicture(picture_.get());
-}
} // namespace cc
« no previous file with comments | « cc/resources/display_item_list.h ('k') | cc/resources/display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698