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

Unified Diff: cc/tile_manager.cc

Issue 12388095: cc: Merge GatherPixelRefs and AnalyzeInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: junov's review Created 7 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
Index: cc/tile_manager.cc
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
index e4daf8a5acbdfa19b6d7241b14631d97bba49695..b4096905120948ae96e00ebc3495404c412142cc 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -751,6 +751,9 @@ void TileManager::AnalyzeTile(Tile* tile) {
managed_tile_state.picture_pile_analysis.is_transparent &=
use_color_estimator_;
managed_tile_state.picture_pile_analyzed = true;
+ managed_tile_state.need_to_gather_pixel_refs = false;
+ managed_tile_state.pending_pixel_refs.swap(
Tom Hudson 2013/03/18 11:52:39 Is swap really the right way to combine these? All
+ managed_tile_state.picture_pile_analysis.lazy_pixel_refs);
}
}

Powered by Google App Engine
This is Rietveld 408576698