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

Unified Diff: cc/resources/picture.cc

Issue 721883002: Add flag to beginRecording to request saveLayer information (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded SkRTreeFactory 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/gpu_raster_worker_pool.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index c35da96848e937b6b717874f7149d5ceba588a50..a8ac9c0505338140787766c2a3e3feea633a5c77 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -215,7 +215,8 @@ void Picture::Record(ContentLayerClient* painter,
skia::RefPtr<SkCanvas> canvas;
canvas = skia::SharePtr(recorder.beginRecording(
- layer_rect_.width(), layer_rect_.height(), &factory));
+ layer_rect_.width(), layer_rect_.height(), &factory,
+ SkPictureRecorder::kComputeSaveLayerInfo_RecordFlag));
ContentLayerClient::GraphicsContextStatus graphics_context_status =
ContentLayerClient::GRAPHICS_CONTEXT_ENABLED;
« no previous file with comments | « cc/resources/gpu_raster_worker_pool.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698