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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.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/paint/ObjectPaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
index 5b95d3bc43b1d20e1921b495235a6f1276ef643d..d98fb3bf0c921698e92479c73551db0d3955a9ef 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
@@ -15,6 +15,7 @@ namespace blink {
class DisplayItemClient;
class LayoutBoxModelObject;
class LayoutObject;
+class LayoutPoint;
class LayoutRect;
struct PaintInvalidatorContext;
@@ -73,6 +74,9 @@ class CORE_EXPORT ObjectPaintInvalidator {
void invalidatePaintIncludingNonSelfPaintingLayerDescendants(
const LayoutBoxModelObject& paintInvalidationContainer);
+ LayoutPoint previousLocationInBacking() const;
+ void setPreviousLocationInBacking(const LayoutPoint&);
+
private:
void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(
const LayoutBoxModelObject& paintInvalidationContainer);

Powered by Google App Engine
This is Rietveld 408576698