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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h

Issue 2661323002: Implement CSSPaintValue and add a layout test. (Closed)
Patch Set: fix indent Created 3 years, 10 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/modules/csspaint/CSSPaintDefinition.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
index 47590a6c9049ffb3ca42701b876452c95b8bd1bc..c086099ec22ec90fcf7e455f9403b7c54247be57 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
@@ -14,6 +14,7 @@
namespace blink {
+class CSSVariableData;
class Image;
class LayoutObject;
class ScriptState;
@@ -40,7 +41,10 @@ class CSSPaintDefinition final
//
// This may return a nullptr (representing an invalid image) if javascript
// throws an error.
- PassRefPtr<Image> paint(const LayoutObject&, const IntSize&, float zoom);
+ PassRefPtr<Image> paint(const LayoutObject&,
+ const IntSize&,
+ float zoom,
+ const Vector<RefPtr<CSSVariableData>>&);
const Vector<CSSPropertyID>& nativeInvalidationProperties() const {
return m_nativeInvalidationProperties;
}

Powered by Google App Engine
This is Rietveld 408576698