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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Support runtime feature on templates Created 3 years, 6 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 8bc002a2585e7132c62240877f9b601912bd16b4..439cf6addaa9485a049b4b3d8f6cd42845459b58 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
@@ -621,7 +621,10 @@ void V8TestInterface2::constructorCallback(const v8::FunctionCallbackInfo<v8::Va
TestInterface2V8Internal::constructor(info);
}
-void V8TestInterface2::installV8TestInterface2Template(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
+void V8TestInterface2::installV8TestInterface2Template(
+ v8::Isolate* isolate,
+ const DOMWrapperWorld& world,
+ v8::Local<v8::FunctionTemplate> interfaceTemplate) {
// Initialize the interface object's template.
V8DOMConfiguration::InitializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterface2::wrapperTypeInfo.interface_name, v8::Local<v8::FunctionTemplate>(), V8TestInterface2::internalFieldCount);
interfaceTemplate->SetCallHandler(V8TestInterface2::constructorCallback);
@@ -688,6 +691,7 @@ InstallTemplateFunction V8TestInterface2::installV8TestInterface2TemplateFunctio
void V8TestInterface2::updateWrapperTypeInfo(
InstallTemplateFunction installTemplateFunction,
InstallRuntimeEnabledFunction installRuntimeEnabledFunction,
+ InstallRuntimeEnabledOnTemplateFunction installRuntimeEnabledOnTemplateFunction,
PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction) {
ALLOW_UNUSED_LOCAL(installRuntimeEnabledFunction);

Powered by Google App Engine
This is Rietveld 408576698