Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 5608001858306437031140accca79e257dbeba04..b5a1be59700c283dc93f7010d49fbd3ac9a32c72 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -861,10 +861,6 @@ void FrameView::layout(bool allowSubtree) |
RELEASE_ASSERT(!isPainting()); |
- // Store the current maximal outline size to use when computing the old/new |
- // outline rects for repainting. |
- renderView()->setOldMaximalOutlineSize(renderView()->maximalOutlineSize()); |
- |
InspectorInstrumentationCookie cookie = InspectorInstrumentation::willLayout(m_frame.get()); |
if (!allowSubtree && isSubtreeLayout()) { |
@@ -1061,10 +1057,8 @@ void FrameView::repaintTree(RenderObject* root) |
const LayoutRect& newRepaintRect = renderer->newRepaintRect(); |
LayoutRect oldOutlineRect = oldRepaintRect; |
- oldOutlineRect.inflate(renderView()->oldMaximalOutlineSize()); |
LayoutRect newOutlineRect = newRepaintRect; |
- newOutlineRect.inflate(renderView()->maximalOutlineSize()); |
// FIXME: Currently renderers with layers will get repainted when we call updateLayerPositionsAfterLayout. |
// That call should be broken apart to position the layers be done before |
@@ -1105,7 +1099,6 @@ void FrameView::repaintTree(RenderObject* root) |
renderer->clearRepaintRects(); |
} |
- renderView()->setOldMaximalOutlineSize(0); |
// Repaint the frameviews scrollbars if needed |
if (hasVerticalBarDamage()) |