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

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

Issue 656643004: Let setShouldDoFullPaintInvalidation accept reason (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/rendering/RenderObject.h ('k') | Source/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.cpp
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
index 665eb2e880695a93b260ce38a23f1b26a25cb81c..fbabb82dbc7ce14ce9c90eb97f7604de3db1c12f 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -3043,7 +3043,7 @@ bool RenderObject::isRelayoutBoundaryForInspector() const
return objectIsRelayoutBoundary(this);
}
-void RenderObject::setShouldDoFullPaintInvalidationWithReason(PaintInvalidationReason reason)
+void RenderObject::setShouldDoFullPaintInvalidation(PaintInvalidationReason reason)
{
// Only full invalidation reasons are allowed.
ASSERT(isFullPaintInvalidationReason(reason));
@@ -3051,7 +3051,7 @@ void RenderObject::setShouldDoFullPaintInvalidationWithReason(PaintInvalidationR
// RenderText objects don't know how to invalidate paint for themselves, since they don't know how to compute their bounds.
// Instead the parent fully invalidate when any text needs full paint invalidation.
if (isText()) {
- parent()->setShouldDoFullPaintInvalidationWithReason(reason);
+ parent()->setShouldDoFullPaintInvalidation(reason);
return;
}
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698