| Index: Source/WebCore/rendering/RenderWidget.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderWidget.cpp (revision 142917)
|
| +++ Source/WebCore/rendering/RenderWidget.cpp (working copy)
|
| @@ -312,7 +312,7 @@
|
| paintInfo.context->fillRect(pixelSnappedIntRect(selectionRect()), selectionBackgroundColor(), style()->colorSpace());
|
| }
|
|
|
| - if (style()->resize() != RESIZE_NONE)
|
| + if (hasLayer() && layer()->canResize())
|
| layer()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect);
|
| }
|
|
|
|
|