| Index: Source/platform/graphics/paint/DrawingRecorder.cpp
|
| diff --git a/Source/platform/graphics/paint/DrawingRecorder.cpp b/Source/platform/graphics/paint/DrawingRecorder.cpp
|
| index fbd84c17b5547b2344da195e75f3d51d6f48ad40..f3ae3088ab9f3e80501fd94b4131fa2771214fd9 100644
|
| --- a/Source/platform/graphics/paint/DrawingRecorder.cpp
|
| +++ b/Source/platform/graphics/paint/DrawingRecorder.cpp
|
| @@ -19,7 +19,6 @@ DrawingRecorder::DrawingRecorder(GraphicsContext* context, DisplayItemClient dis
|
| : m_context(context)
|
| , m_displayItemClient(displayItemClient)
|
| , m_displayItemType(displayItemType)
|
| - , m_bounds(bounds)
|
| , m_canUseCachedDrawing(false)
|
| {
|
| if (!RuntimeEnabledFeatures::slimmingPaintEnabled())
|
| @@ -60,9 +59,8 @@ DrawingRecorder::~DrawingRecorder()
|
| } else {
|
| RefPtr<const SkPicture> picture = m_context->endRecording();
|
| if (!picture || !picture->approximateOpCount())
|
| - displayItem = DisplayItem::create(m_displayItemClient, m_displayItemType);
|
| - else
|
| - displayItem = DrawingDisplayItem::create(m_displayItemClient, m_displayItemType, picture);
|
| + return;
|
| + displayItem = DrawingDisplayItem::create(m_displayItemClient, m_displayItemType, picture);
|
| }
|
|
|
| #ifndef NDEBUG
|
|
|