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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.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/V8TestInterface2.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
index 1af9aec55c7892bab2a33e5d80cb1087d0e21fc8..17fa247f2438619d5ee62eef1d7815b7496e93c4 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
@@ -664,10 +664,18 @@ TestInterface2* V8TestInterface2::toImplWithTypeCheck(v8::Isolate* isolate, v8::
InstallTemplateFunction V8TestInterface2::installV8TestInterface2TemplateFunction = (InstallTemplateFunction)&V8TestInterface2::installV8TestInterface2Template;
-void V8TestInterface2::updateWrapperTypeInfo(InstallTemplateFunction installTemplateFunction, PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction) {
- V8TestInterface2::installV8TestInterface2TemplateFunction = installTemplateFunction;
- if (preparePrototypeAndInterfaceObjectFunction)
- V8TestInterface2::wrapperTypeInfo.preparePrototypeAndInterfaceObjectFunction = preparePrototypeAndInterfaceObjectFunction;
+void V8TestInterface2::updateWrapperTypeInfo(
+ InstallTemplateFunction installTemplateFunction,
+ InstallRuntimeEnabledFunction installRuntimeEnabledFunction,
+ PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction) {
+ ALLOW_UNUSED_LOCAL(installRuntimeEnabledFunction);
+
+ V8TestInterface2::installV8TestInterface2TemplateFunction =
+ installTemplateFunction;
+ if (preparePrototypeAndInterfaceObjectFunction) {
+ V8TestInterface2::wrapperTypeInfo.preparePrototypeAndInterfaceObjectFunction =
+ preparePrototypeAndInterfaceObjectFunction;
+ }
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698