Index: third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp |
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp |
index c184100effc65a9046c063ab50ec68fc93b78521..d6e05c355c1699307cf6226f48445b5c278e69e3 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp |
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp |
@@ -28,6 +28,21 @@ PaintWorklet::~PaintWorklet() |
{ |
} |
+WorkletGlobalScope* PaintWorklet::workletGlobalScope() const |
+{ |
+ return m_paintWorkletGlobalScope.get(); |
+} |
+ |
+CSSPaintDefinition* PaintWorklet::findDefinition(const String& name) |
+{ |
+ return m_paintWorkletGlobalScope->findDefinition(name); |
+} |
+ |
+void PaintWorklet::addPendingGenerator(const String& name, CSSPaintImageGeneratorImpl* generator) |
+{ |
+ return m_paintWorkletGlobalScope->addPendingGenerator(name, generator); |
+} |
+ |
DEFINE_TRACE(PaintWorklet) |
{ |
visitor->trace(m_paintWorkletGlobalScope); |