summaryrefslogtreecommitdiffstats
path: root/ui/compositor/paint_recorder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/compositor/paint_recorder.cc')
-rw-r--r--ui/compositor/paint_recorder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/compositor/paint_recorder.cc b/ui/compositor/paint_recorder.cc
index 3ed48a7..163a7a7 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);
}