| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index ae844e11359deedc39f8bfe3a00817c09b56c502..689aef56f10484ccca8c51b560827ecdafb1149d 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -616,7 +616,7 @@ PassOwnPtr<DragImage> LocalFrame::dragImageForSelection()
|
|
|
| const ScopedFramePaintingState state(this, 0);
|
| m_view->setPaintBehavior(PaintBehaviorSelectionOnly | PaintBehaviorFlattenCompositingLayers);
|
| - document()->updateLayout();
|
| + m_view->updateLayoutAndStyleForPainting();
|
|
|
| IntRect paintingRect = enclosingIntRect(selection().bounds());
|
|
|
|
|