Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: Source/core/frame/FrameView.cpp

Issue 176953008: Include the outline into the visual overflow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/InlineFlowBox.h » ('j') | Source/core/rendering/InlineFlowBox.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « no previous file | Source/core/rendering/InlineFlowBox.h » ('j') | Source/core/rendering/InlineFlowBox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698