| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 6bbc4a3ab91812009df8699837edb243189e02a3..f427619ca0e22b58246b247eed989a883ea51cf4 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -626,7 +626,7 @@ PassOwnPtr<DragImage> LocalFrame::nodeImage(Node& node)
|
|
|
| const ScopedFramePaintingState state(this, &node);
|
|
|
| - m_view->updateLayoutAndStyleForPainting();
|
| + m_view->updateAllLifecyclePhases();
|
|
|
| m_view->setPaintBehavior(state.paintBehavior | PaintBehaviorFlattenCompositingLayers);
|
|
|
| @@ -650,7 +650,7 @@ PassOwnPtr<DragImage> LocalFrame::dragImageForSelection()
|
|
|
| const ScopedFramePaintingState state(this, 0);
|
| m_view->setPaintBehavior(PaintBehaviorSelectionOnly | PaintBehaviorFlattenCompositingLayers);
|
| - m_view->updateLayoutAndStyleForPainting();
|
| + m_view->updateAllLifecyclePhases();
|
|
|
| return paintIntoDragImage(*this, DisplayItem::ClipSelectionImage, DoNotRespectImageOrientation, enclosingIntRect(selection().bounds()));
|
| }
|
|
|