Index: cc/resources/skpicture_content_layer_updater.cc |
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc |
index ace97a4e8ed827e2c02c8b0d4139d9eed6b53783..c54f5dcaa7cb6dd0ff8b2337cede0f71937ed34a 100644 |
--- a/cc/resources/skpicture_content_layer_updater.cc |
+++ b/cc/resources/skpicture_content_layer_updater.cc |
@@ -38,7 +38,7 @@ void SkPictureContentLayerUpdater::PrepareToUpdate( |
paint_rect, |
contents_width_scale, |
contents_height_scale); |
- picture_ = skia::AdoptRef(recorder.endRecording()); |
+ picture_ = skia::AdoptRef(recorder.endRecordingAsPicture()); |
} |
void SkPictureContentLayerUpdater::DrawPicture(SkCanvas* canvas) { |