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

Unified Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.h

Issue 2476813002: Move LayoutObject::m_previousPosition... into a global map in ObjectPaintInvalidator (Closed)
Patch Set: doc Created 4 years, 1 month 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/PaintInvalidationState.h
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
index f623133b9caa194b206e2e39e006067d7e4d36a7..cded175231770af391231c2c379f27525f97814b 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
@@ -89,9 +89,10 @@ class CORE_EXPORT PaintInvalidationState {
return *m_paintInvalidationContainer;
}
- // Computes the position of the current object ((0,0) in the space of the
+ // Computes the location of the current object ((0,0) in the space of the
// object) in the space of paint invalidation backing.
- LayoutPoint computePositionFromPaintInvalidationBacking() const;
+ LayoutPoint computeLocationInBacking(
+ const LayoutPoint& visualRectLocation) const;
// Returns the rect bounds needed to invalidate paint of this object,
// in the space of paint invalidation backing.

Powered by Google App Engine
This is Rietveld 408576698