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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2605543002: Replace adjustment of previous visual rects on scroll with normal paint invalidation (Closed)
Patch Set: Remove unused parameters Created 4 years 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: third_party/WebKit/Source/core/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 574b9facda68c895fa1088852cf8b1fbd80dadec..ec4269cb7867457f1600ed5390b41d30fdcb0db3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -1259,13 +1259,6 @@ LayoutRect LayoutObject::previousVisualRectIncludingCompositedScrolling(
return rect;
}
-void LayoutObject::adjustPreviousPaintInvalidationForScrollIfNeeded(
- const DoubleSize& scrollDelta) {
- if (containerForPaintInvalidation().usesCompositedScrolling())
- return;
- m_previousVisualRect.move(LayoutSize(scrollDelta));
-}
-
void LayoutObject::clearPreviousVisualRects() {
setPreviousVisualRect(LayoutRect());
ObjectPaintInvalidator(*this).setPreviousLocationInBacking(LayoutPoint());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/paint/PaintLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698