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

Unified Diff: cc/resources/picture_pile.cc

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/one_copy_raster_worker_pool.cc ('k') | cc/resources/picture_pile_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile.cc
diff --git a/cc/resources/picture_pile.cc b/cc/resources/picture_pile.cc
index e00ed54eab7e86c2d876e959a922941dfc05a85d..1ad673b7222bb39fe157f292d0230f12ac91ac64 100644
--- a/cc/resources/picture_pile.cc
+++ b/cc/resources/picture_pile.cc
@@ -538,9 +538,7 @@ bool PicturePile::UpdateAndExpandInvalidation(
void PicturePile::SetEmptyBounds() {
tiling_.SetTilingSize(gfx::Size());
- picture_map_.clear();
- has_any_recordings_ = false;
- recorded_viewport_ = gfx::Rect();
+ Clear();
}
void PicturePile::DetermineIfSolidColor() {
« no previous file with comments | « cc/resources/one_copy_raster_worker_pool.cc ('k') | cc/resources/picture_pile_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698