diff options
Diffstat (limited to 'gm/distantclip.cpp')
-rw-r--r-- | gm/distantclip.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gm/distantclip.cpp b/gm/distantclip.cpp index fd96564057..9276dadc53 100644 --- a/gm/distantclip.cpp +++ b/gm/distantclip.cpp @@ -1,5 +1,4 @@ - /* * Copyright 2012 Google Inc. * @@ -46,8 +45,8 @@ protected: sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture()); // Next we play that picture into another picture of the same size. - pict->playback(recorder.beginRecording(pict->cullRect().width(), - pict->cullRect().height(), + pict->playback(recorder.beginRecording(pict->cullRect().width(), + pict->cullRect().height(), nullptr, 0)); sk_sp<SkPicture> pict2(recorder.finishRecordingAsPicture()); |