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

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

Issue 270663003: Remove FrameView::m_doFullRepaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 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
Index: Source/core/rendering/RenderObject.cpp
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
index 951db507550fc764ab76db7c30b2935908c05678..03d5e1bf1c07ae87ececae8c063972bc06b058c9 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -1543,12 +1543,12 @@ void RenderObject::repaintTreeAfterLayout(const RenderLayerModelObject& repaintC
if (!shouldCheckForInvalidationAfterLayout())
return;
- clearRepaintState();
-
for (RenderObject* child = slowFirstChild(); child; child = child->nextSibling()) {
if (!child->isOutOfFlowPositioned())
child->repaintTreeAfterLayout(repaintContainer);
}
+
+ clearRepaintState();
dsinclair 2014/05/20 17:37:39 This puts a dependency on the children checking th
}
static PassRefPtr<JSONValue> jsonObjectForOldAndNewRects(const LayoutRect& oldRect, const LayoutRect& newRect)
@@ -1715,7 +1715,7 @@ void RenderObject::repaintOverflowIfNeeded()
bool RenderObject::checkForRepaint() const
{
- return !document().view()->needsFullRepaint() && everHadLayout();
+ return !view()->shouldDoFullRepaintAfterLayout() && everHadLayout();
}
bool RenderObject::checkForRepaintDuringLayout() const

Powered by Google App Engine
This is Rietveld 408576698