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

Unified Diff: Source/core/rendering/LayoutRectRecorder.cpp

Issue 210043008: Kill outlineBox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined patch, hoping it would solve the bot failure I can't reproduce locally Created 6 years, 9 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 | « Source/core/html/HTMLAreaElement.cpp ('k') | Source/core/rendering/LayoutRepainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/LayoutRectRecorder.cpp
diff --git a/Source/core/rendering/LayoutRectRecorder.cpp b/Source/core/rendering/LayoutRectRecorder.cpp
index b62eef753d1bf39ac02a26ac6bfb58301d3efc42..bc36aab022b113d70b2f41c00a28306a36e1e8e9 100644
--- a/Source/core/rendering/LayoutRectRecorder.cpp
+++ b/Source/core/rendering/LayoutRectRecorder.cpp
@@ -54,9 +54,6 @@ LayoutRectRecorder::LayoutRectRecorder(RenderObject& object, bool record)
if (!m_object.layoutDidGetCalled()) {
RenderLayerModelObject* containerForRepaint = m_object.containerForRepaint();
m_object.setOldRepaintRect(m_object.clippedOverflowRectForRepaint(containerForRepaint));
-
- if (m_object.hasOutline())
- m_object.setOldOutlineRect(m_object.outlineBoundsForRepaint(containerForRepaint));
}
// If should do repaint was set previously make sure we don't accidentally unset it.
@@ -78,9 +75,6 @@ LayoutRectRecorder::~LayoutRectRecorder()
// Note, we don't store the repaint container because it can change during layout.
RenderLayerModelObject* containerForRepaint = m_object.containerForRepaint();
m_object.setNewRepaintRect(m_object.clippedOverflowRectForRepaint(containerForRepaint));
-
- if (m_object.hasOutline())
- m_object.setNewOutlineRect(m_object.outlineBoundsForRepaint(containerForRepaint));
}
} // namespace WebCore
« no previous file with comments | « Source/core/html/HTMLAreaElement.cpp ('k') | Source/core/rendering/LayoutRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698