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

Unified Diff: cc/resources/tile_manager.cc

Issue 12457031: cc: Changed total_pixels_rasterized to be a return value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index 10f9179032c1ddc420a91516ed4c4dbec8690889..65c2e9e11bd3ad46f555e4d4521b0c0a64f50b2a 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -984,9 +984,8 @@ void TileManager::RunRasterTask(
base::TimeTicks start_time = stats_instrumentation->StartRecording();
- int64 total_pixels_rasterized = 0;
- picture_pile->Raster(&canvas, rect, contents_scale,
- &total_pixels_rasterized);
+ int64 total_pixels_rasterized =
+ picture_pile->Raster(&canvas, rect, contents_scale);
base::TimeDelta duration = stats_instrumentation->EndRecording(start_time);
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698