Index: third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
index 2c8a30381732e9a44634b0bde27c32d769efc236..2fe43630072ef07be3d171cc1a9ee36d2c256a61 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
@@ -70,6 +70,11 @@ const Vector<AtomicString>& CSSPaintImageGeneratorImpl::customInvalidationProper |
return m_definition ? m_definition->customInvalidationProperties() : emptyVector; |
} |
+bool CSSPaintImageGeneratorImpl::hasAlphaChannel() const |
+{ |
+ return m_definition && m_definition->hasAlphaChannel(); |
+} |
+ |
DEFINE_TRACE(CSSPaintImageGeneratorImpl) |
{ |
visitor->trace(m_definition); |