Index: Source/WebCore/dom/Document.cpp |
=================================================================== |
--- Source/WebCore/dom/Document.cpp (revision 143493) |
+++ Source/WebCore/dom/Document.cpp (working copy) |
@@ -1927,9 +1927,6 @@ |
StackStats::LayoutCheckPoint layoutCheckPoint; |
- if (renderView()) |
- renderView()->markQuoteContainingBlocksForLayoutIfNeeded(); |
- |
// Only do a layout if changes have occurred that make it necessary. |
if (frameView && renderer() && (frameView->layoutPending() || renderer()->needsLayout())) |
frameView->layout(); |
@@ -2480,10 +2477,7 @@ |
m_overMinimumLayoutThreshold = true; |
if (!ownerElement() || (ownerElement()->renderer() && !ownerElement()->renderer()->needsLayout())) { |
updateStyleIfNeeded(); |
- |
- if (renderView()) |
- renderView()->markQuoteContainingBlocksForLayoutIfNeeded(); |
- |
+ |
// Always do a layout after loading if needed. |
if (view() && renderObject && (!renderObject->firstChild() || renderObject->needsLayout())) |
view()->layout(); |