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

Unified Diff: cc/resources/skpicture_content_layer_updater.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/picture_pile_impl.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/skpicture_content_layer_updater.cc
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc
index ace97a4e8ed827e2c02c8b0d4139d9eed6b53783..c54f5dcaa7cb6dd0ff8b2337cede0f71937ed34a 100644
--- a/cc/resources/skpicture_content_layer_updater.cc
+++ b/cc/resources/skpicture_content_layer_updater.cc
@@ -38,7 +38,7 @@ void SkPictureContentLayerUpdater::PrepareToUpdate(
paint_rect,
contents_width_scale,
contents_height_scale);
- picture_ = skia::AdoptRef(recorder.endRecording());
+ picture_ = skia::AdoptRef(recorder.endRecordingAsPicture());
}
void SkPictureContentLayerUpdater::DrawPicture(SkCanvas* canvas) {
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698