summaryrefslogtreecommitdiffstats
path: root/cc/raster/gpu_rasterizer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/raster/gpu_rasterizer.cc')
-rw-r--r--cc/raster/gpu_rasterizer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/raster/gpu_rasterizer.cc b/cc/raster/gpu_rasterizer.cc
index 7e8c131..18c83f7 100644
--- a/cc/raster/gpu_rasterizer.cc
+++ b/cc/raster/gpu_rasterizer.cc
@@ -55,8 +55,7 @@ void GpuRasterizer::RasterizeSource(
raster_source->PlaybackToCanvas(canvas.get(), raster_full_rect, playback_rect,
scale, include_images);
canvas->restore();
- skia::RefPtr<SkPicture> picture =
- skia::AdoptRef(recorder.endRecordingAsPicture());
+ sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
// Turn on distance fields for layers that have ever animated.
bool use_distance_field_text =