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

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: update 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 963dd9a02ef71032a1399ff3a04a85db53465aa1..e4b40b09df82badae2ca0da72f99da37bddd4bca 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -739,6 +739,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(
+ managed_tile_state.picture_pile_analysis.lazy_pixel_refs);
}
}
« no previous file with comments | « cc/picture_pile_impl.cc ('k') | skia/ext/analysis_canvas.h » ('j') | skia/ext/analysis_canvas.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698