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

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

Issue 2077413005: Add "alpha" option to PaintWorklet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set alpha to be true by default Created 4 years, 5 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/CSSPaintImageGeneratorImpl.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
index 6c5ba40d427b360f7fe7418a122872eadc734900..a4c8f3e76625205b79120c01bf63a8da12622424 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
@@ -25,6 +25,7 @@ public:
PassRefPtr<Image> paint(const LayoutObject&, const IntSize&) final;
const Vector<CSSPropertyID>& nativeInvalidationProperties() const final;
const Vector<AtomicString>& customInvalidationProperties() const final;
+ bool hasAlpha() const final;
// Should be called from the PaintWorkletGlobalScope when a javascript class
// is registered with the same name.

Powered by Google App Engine
This is Rietveld 408576698