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

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: rebase. Created 4 years, 7 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 2b196491cb48de8fde0922295f4aa0b07f164cdb..3f83fda7b7c448ca3ee45395eb3299d45a80ae22 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1658,6 +1658,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; }
@@ -1927,6 +1929,7 @@ private:
bool diffNeedsFullLayout(const ComputedStyle& other) const;
bool diffNeedsPaintInvalidationSubtree(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