summaryrefslogtreecommitdiffstats
path: root/skia/ext/analysis_canvas_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/analysis_canvas_unittest.cc')
-rw-r--r--skia/ext/analysis_canvas_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/skia/ext/analysis_canvas_unittest.cc b/skia/ext/analysis_canvas_unittest.cc
index 5436b81..bac22b1 100644
--- a/skia/ext/analysis_canvas_unittest.cc
+++ b/skia/ext/analysis_canvas_unittest.cc
@@ -345,8 +345,7 @@ TEST(AnalysisCanvasTest, EarlyOutNotSolid) {
record_canvas->drawText(
text.c_str(), text.length(), point.fX, point.fY, paint);
- skia::RefPtr<SkPicture> picture =
- skia::AdoptRef(recorder.endRecordingAsPicture());
+ sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
// Draw the picture into the analysis canvas, using the canvas as a callback
// as well.