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 964460e04d971f92fda318b11e4496eeaf0dc4cf..c0fb59a57d46d3f7304c925d11377391b66bece9 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp |
@@ -18,6 +18,7 @@ |
#include "core/dom/ContextFeatures.h" |
#include "core/dom/Document.h" |
#include "core/dom/Element.h" |
+#include "core/experiments/Experiments.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/TraceEvent.h" |
@@ -659,6 +660,8 @@ static void installV8TestInterface2Template(v8::Local<v8::FunctionTemplate> func |
ALLOW_UNUSED_LOCAL(instanceTemplate); |
v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate(); |
ALLOW_UNUSED_LOCAL(prototypeTemplate); |
+ ExecutionContext* ec = currentExecutionContext(isolate); |
+ ALLOW_UNUSED_LOCAL(ec); |
if (RuntimeEnabledFeatures::featureNameEnabled()) { |
const V8DOMConfiguration::ConstantConfiguration constantConstValue1Configuration = {"CONST_VALUE_1", 1, 0, V8DOMConfiguration::ConstantTypeUnsignedShort}; |
V8DOMConfiguration::installConstant(isolate, functionTemplate, prototypeTemplate, constantConstValue1Configuration); |