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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp

Issue 2304453004: [Bindings] Expose V8 callback functions in generated code (Closed)
Patch Set: Expose call Callback functions in binding scripts Created 4 years, 3 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/tests/results/core/V8TestInterfaceDocument.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
index 2c63337b05ba2163ac118b50294ec837b6d6bc64..23a17cb579f17eed2573fef2db2bf3ef0094ce4f 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
@@ -59,7 +59,7 @@ static void locationAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& i
v8SetReturnValueFast(info, WTF::getPtr(impl->location()), impl);
}
-static void locationAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void locationAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterfaceDocumentV8Internal::locationAttributeGetter(info);
}
@@ -77,7 +77,7 @@ static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Func
impl->setHref(currentDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue);
}
-static void locationAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void locationAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterfaceDocumentV8Internal::locationAttributeSetter(v8Value, info);

Powered by Google App Engine
This is Rietveld 408576698