| Index: Source/WebCore/page/win/FrameCGWin.cpp
|
| ===================================================================
|
| --- Source/WebCore/page/win/FrameCGWin.cpp (revision 122140)
|
| +++ Source/WebCore/page/win/FrameCGWin.cpp (working copy)
|
| @@ -93,6 +93,8 @@
|
|
|
| DragImageRef Frame::nodeImage(Node* node)
|
| {
|
| + document()->updateLayout();
|
| +
|
| RenderObject* renderer = node->renderer();
|
| if (!renderer)
|
| return 0;
|
| @@ -100,8 +102,6 @@
|
| LayoutRect topLevelRect;
|
| IntRect paintingRect = pixelSnappedIntRect(renderer->paintingRootRect(topLevelRect));
|
|
|
| - document()->updateLayout();
|
| -
|
| m_view->setNodeToDraw(node); // invoke special sub-tree drawing mode
|
| HBITMAP result = imageFromRect(this, paintingRect);
|
| m_view->setNodeToDraw(0);
|
|
|