| Index: third_party/WebKit/Source/web/PageWidgetDelegate.cpp
|
| diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
|
| index e2c41392f90da57f9594eb456f320a8d51b081f9..38d2b90e8cc963ebf75f39732bebae55c72875ed 100644
|
| --- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
|
| +++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
|
| @@ -93,7 +93,9 @@ static void paintInternal(Page& page, WebCanvas* canvas,
|
| paintContext.fillRect(dirtyRect, Color::white);
|
| }
|
| }
|
| - pictureBuilder.endRecording()->playback(canvas);
|
| + RefPtr<const SkPicture> recording = pictureBuilder.endRecording();
|
| + if (recording)
|
| + recording->playback(canvas);
|
| }
|
|
|
| void PageWidgetDelegate::paint(Page& page, WebCanvas* canvas,
|
|
|