Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 457973003: We should call FrameView::updateLayoutAndStyleForPainting before painting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Needs rebaseline Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698