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