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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp

Issue 1839913002: Implement PaintWorkletGlobalScope#registerPaint() for the CSS Paint API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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/bindings/core/v8/V8PerContextData.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
index bec3000b5047557496f93619c9844af24a4221e2..54318fbbba78d96bc2d081f64a8b3ab3dbfb64fd 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
@@ -149,6 +149,11 @@ void V8PerContextData::addCustomElementBinding(CustomElementDefinition* definiti
m_customElementBindings.append(std::move(binding));
}
+void V8PerContextData::addCSSPaintBinding(PassOwnPtr<CSSPaintBinding> binding)
+{
+ m_cssPaintBindings.append(std::move(binding));
+}
+
v8::Local<v8::Value> V8PerContextData::compiledPrivateScript(String className)
{
return m_compiledPrivateScript.Get(className);

Powered by Google App Engine
This is Rietveld 408576698