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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintProperties.h

Issue 2379753003: [SPInvalidation] Fix paint offset issue of descendants of composited svg root (Closed)
Patch Set: update tests Created 4 years, 3 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 | « no previous file | third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
index 0e47c7782c4516f1107ac74f67890ad6a2fd1bec..ebd6748ef64b484df9bfc08a15ed107836ead902 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
@@ -101,10 +101,12 @@ public:
const ScrollPaintPropertyNode* scroll;
};
const LocalBorderBoxProperties* localBorderBoxProperties() const { return m_localBorderBoxProperties.get(); }
- // ContentsProperties is the GeometryPropertyTreeState that is the same as in
+ // ContentsPropertyTreeState is the GeometryPropertyTreeState that is the same as in
// localBorderBoxProperties, except that it is inside any clips and scrolls caused by this
// object. This GeometryPropertyTreeState is suitable as the destination for paint invalidation.
- void getContentsProperties(GeometryPropertyTreeState&) const;
+ // |paintOffsetFromState| is the offset from the GeometryPropertyTreeState to this object's
+ // contents space.
+ void getContentsPropertyTreeState(GeometryPropertyTreeState&, LayoutPoint& paintOffsetFromState) const;
void clearPaintOffsetTranslation() { m_paintOffsetTranslation = nullptr; }
void clearTransform() { m_transform = nullptr; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698