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..9a9f92423c4b20b6cf14163bb3a69e13620558c7 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -1656,6 +1656,9 @@ public: |
bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorBackground; }; |
bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorder; }; |
+ void addPaintImage(StyleImage* image) { rareNonInheritedData.access()->m_paintImages.append(image); } |
+ const Vector<Persistent<StyleImage>>& paintImages() const { return rareNonInheritedData->m_paintImages; } |
+ |
// Initial values for all the properties |
static EBorderCollapse initialBorderCollapse() { return BorderCollapseSeparate; } |
static EBorderStyle initialBorderStyle() { return BorderStyleNone; } |
@@ -1925,6 +1928,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; |