Index: cc/resources/picture.cc |
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc |
index e88ff21dc42076570a14aa2b71562182298da2f7..9375d7e3905ec90edeb5188c3f1d4260d0cb3b38 100644 |
--- a/cc/resources/picture.cc |
+++ b/cc/resources/picture.cc |
@@ -218,7 +218,7 @@ void Picture::Record(ContentLayerClient* painter, |
painter->PaintContents(canvas.get(), layer_rect_, painting_control); |
canvas->restore(); |
- picture_ = skia::AdoptRef(recorder.endRecording()); |
+ picture_ = skia::AdoptRef(recorder.endRecordingAsPicture()); |
DCHECK(picture_); |
EmitTraceSnapshot(); |