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

Unified Diff: cc/resources/picture.cc

Issue 1066273002: Use SkPictureRecorder::endRecordingAsPicture() instead of endRecording() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/gpu_rasterizer.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | 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 e88ff21dc42076570a14aa2b71562182298da2f7..9375d7e3905ec90edeb5188c3f1d4260d0cb3b38 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -218,7 +218,7 @@ void Picture::Record(ContentLayerClient* painter,
painter->PaintContents(canvas.get(), layer_rect_, painting_control);
canvas->restore();
- picture_ = skia::AdoptRef(recorder.endRecording());
+ picture_ = skia::AdoptRef(recorder.endRecordingAsPicture());
DCHECK(picture_);
EmitTraceSnapshot();
« no previous file with comments | « cc/resources/gpu_rasterizer.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698