Chromium Code Reviews

Unified Diff: Source/WebCore/rendering/RenderObject.cpp

Issue 9930007: Merge 111899 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/WebCore/rendering/RenderObject.cpp
===================================================================
--- Source/WebCore/rendering/RenderObject.cpp (revision 112604)
+++ Source/WebCore/rendering/RenderObject.cpp (working copy)
@@ -2788,6 +2788,9 @@
bool RenderObject::canUpdateSelectionOnRootLineBoxes()
{
+ if (needsLayout())
+ return false;
+
RenderBlock* containingBlock = this->containingBlock();
return containingBlock ? !containingBlock->needsLayout() : true;
}
« no previous file with comments | « LayoutTests/editing/selection/clear-selection-crash-expected.txt ('k') | Source/WebCore/rendering/RenderSelectionInfo.h » ('j') | no next file with comments »

Powered by Google App Engine