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

Unified Diff: cc/trees/layer_tree_host_pixeltest_tiles.cc

Issue 1819683002: Use sk_sp-based picture recording APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: cc/trees/layer_tree_host_pixeltest_tiles.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_tiles.cc b/cc/trees/layer_tree_host_pixeltest_tiles.cc
index fecc47e9c64ba3b337d1e8fe5729de87a7983273..764e37dcf20a15a026d11f684e88d912c5ab8665 100644
--- a/cc/trees/layer_tree_host_pixeltest_tiles.cc
+++ b/cc/trees/layer_tree_host_pixeltest_tiles.cc
@@ -133,7 +133,7 @@ class BlueYellowClient : public ContentLayerClient {
canvas->drawRect(gfx::RectToSkRect(yellow_rect), paint);
display_list->CreateAndAppendItem<DrawingDisplayItem>(
- PaintableRegion(), skia::AdoptRef(recorder.endRecordingAsPicture()));
+ PaintableRegion(), recorder.finishRecordingAsPicture());
display_list->Finalize();
return display_list;
}

Powered by Google App Engine
This is Rietveld 408576698