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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1896893004: Hook up style invalidation for CSS Paint API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css-paint-register
Patch Set: Redo CSSParserToken::operator==() Created 4 years, 8 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: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index b2da33b7ab9ba63c37db73d4e24e754b365921c5..cae0830e5e92858247d29ac3cdb5dae464e5c7ad 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1656,6 +1656,8 @@ public:
bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorBackground; };
bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorder; };
+ void addPaintImage(StyleImage*);
+
// Initial values for all the properties
static EBorderCollapse initialBorderCollapse() { return BorderCollapseSeparate; }
static EBorderStyle initialBorderStyle() { return BorderStyleNone; }
@@ -1925,6 +1927,7 @@ private:
bool diffNeedsFullLayout(const ComputedStyle& other) const;
bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const;
bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
+ bool diffNeedsPaintInvalidationObjectForPaintImage(const StyleImage*, const ComputedStyle& other) const;
void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDifference&) const;
bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPath) const;

Powered by Google App Engine
This is Rietveld 408576698