Index: Source/WebCore/rendering/RenderObject.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.cpp (revision 110458) |
+++ Source/WebCore/rendering/RenderObject.cpp (working copy) |
@@ -2786,6 +2786,12 @@ |
return SetCursorBasedOnStyle; |
} |
+bool RenderObject::canUpdateSelectionOnRootLineBoxes() |
+{ |
+ RenderBlock* containingBlock = this->containingBlock(); |
+ return containingBlock ? !containingBlock->needsLayout() : true; |
+} |
+ |
#if ENABLE(SVG) |
RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() |