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

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

Issue 399173005: Incrementally invalidate boxes with borders if possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 5 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 4db5c5918070ac914af0f20b1068121555da0b79..4c4de6a9865962f30a7a4965c81600c715b63f01 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -1646,7 +1646,7 @@ bool RenderObject::invalidatePaintIfNeeded(const RenderLayerModelObject& paintIn
return false;
if (invalidationReason == InvalidationIncremental) {
- incrementallyInvalidatePaint(paintInvalidationContainer, oldBounds, newBounds);
+ incrementallyInvalidatePaint(paintInvalidationContainer, oldBounds, newBounds, newLocation);
return false;
}
@@ -1695,7 +1695,7 @@ InvalidationReason RenderObject::getPaintInvalidationReason(const RenderLayerMod
return InvalidationIncremental;
}
-void RenderObject::incrementallyInvalidatePaint(const RenderLayerModelObject& paintInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds)
+void RenderObject::incrementallyInvalidatePaint(const RenderLayerModelObject& paintInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const LayoutPoint& positionFromPaintInvalidationContainer)
{
ASSERT(oldBounds.location() == newBounds.location());
« Source/core/rendering/RenderBox.cpp ('K') | « Source/core/rendering/RenderObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698