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

Unified Diff: ui/compositor/paint_recorder.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: ui/compositor/paint_recorder.cc
diff --git a/ui/compositor/paint_recorder.cc b/ui/compositor/paint_recorder.cc
index 3ed48a7dac4110a7866d488b45d55ca8ed309bee..163a7a7790868055239b31fd490808a4fc32438a 100644
--- a/ui/compositor/paint_recorder.cc
+++ b/ui/compositor/paint_recorder.cc
@@ -43,7 +43,7 @@ PaintRecorder::~PaintRecorder() {
const auto& item =
context_.list_->CreateAndAppendItem<cc::DrawingDisplayItem>(
bounds_in_layer_,
- skia::AdoptRef(context_.recorder_->endRecordingAsPicture()));
+ context_.recorder_->finishRecordingAsPicture());
if (cache_)
cache_->SetCache(item);
}

Powered by Google App Engine
This is Rietveld 408576698