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

Unified Diff: cc/resources/picture.h

Issue 25353009: telemetry: Refactored rasterize_and_record measurement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made BenchmarkInstrumentation a class. Created 7 years, 2 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/layers/picture_layer.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 6a7aca7e81722a5efaea14eb91903a9d73fa9a04..8210e86318b7dc0db01589d86121272888f6d8f5 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -68,10 +68,10 @@ class CC_EXPORT Picture
bool HasRecording() const { return picture_.get() != NULL; }
// Apply this contents scale and raster the content rect into the canvas.
- void Raster(SkCanvas* canvas,
- SkDrawPictureCallback* callback,
- gfx::Rect content_rect,
- float contents_scale);
+ int Raster(SkCanvas* canvas,
+ SkDrawPictureCallback* callback,
+ gfx::Rect content_rect,
+ float contents_scale);
// Draw the picture directly into the given canvas, without applying any
// clip/scale/layer transformations.
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698