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

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

Issue 2692753003: [Bindings] Update runtime enabled features from partial interfaces (Closed)
Patch Set: Remove needless classname addition Created 3 years, 10 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/V8TestInterface.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
index 6e713e1da2253944504eb81d76cfeff02848e5b2..28bd763ddb4e1174f6ff179bf11e1342e5b5c83d 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
@@ -2967,10 +2967,18 @@ void V8TestInterface::preparePrototypeAndInterfaceObject(v8::Local<v8::Context>
InstallTemplateFunction V8TestInterface::installV8TestInterfaceTemplateFunction = (InstallTemplateFunction)&V8TestInterface::installV8TestInterfaceTemplate;
-void V8TestInterface::updateWrapperTypeInfo(InstallTemplateFunction installTemplateFunction, PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction) {
- V8TestInterface::installV8TestInterfaceTemplateFunction = installTemplateFunction;
- if (preparePrototypeAndInterfaceObjectFunction)
- V8TestInterface::wrapperTypeInfo.preparePrototypeAndInterfaceObjectFunction = preparePrototypeAndInterfaceObjectFunction;
+void V8TestInterface::updateWrapperTypeInfo(
+ InstallTemplateFunction installTemplateFunction,
+ InstallRuntimeEnabledFunction installRuntimeEnabledFunction,
+ PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction) {
+ ALLOW_UNUSED_LOCAL(installRuntimeEnabledFunction);
+
+ V8TestInterface::installV8TestInterfaceTemplateFunction =
+ installTemplateFunction;
+ if (preparePrototypeAndInterfaceObjectFunction) {
+ V8TestInterface::wrapperTypeInfo.preparePrototypeAndInterfaceObjectFunction =
+ preparePrototypeAndInterfaceObjectFunction;
+ }
}
void V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) {

Powered by Google App Engine
This is Rietveld 408576698