| Index: Source/platform/graphics/paint/DrawingRecorder.cpp
|
| diff --git a/Source/platform/graphics/paint/DrawingRecorder.cpp b/Source/platform/graphics/paint/DrawingRecorder.cpp
|
| index 81bdef4c78d1695e12f6bd2577ba64c11e9f4c11..d5d2f61fa6fab2af397330f1ef36f0b1b8d1c8ce 100644
|
| --- a/Source/platform/graphics/paint/DrawingRecorder.cpp
|
| +++ b/Source/platform/graphics/paint/DrawingRecorder.cpp
|
| @@ -64,8 +64,9 @@ DrawingRecorder::~DrawingRecorder()
|
| } else {
|
| RefPtr<const SkPicture> picture = m_context->endRecording();
|
| if (!picture || !picture->approximateOpCount())
|
| - return;
|
| - displayItem = DrawingDisplayItem::create(m_displayItemClient, m_displayItemType, picture);
|
| + displayItem = DisplayItem::createDummy(m_displayItemClient, m_displayItemType);
|
| + else
|
| + displayItem = DrawingDisplayItem::create(m_displayItemClient, m_displayItemType, picture);
|
| }
|
|
|
| #ifndef NDEBUG
|
|
|