Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
index 8213ef718e41431cf721b6522e0f91f1aa8c61a1..cf84a17139f15e94f005c4b53e9e05e2a8d4a55f 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
@@ -12,6 +12,7 @@ |
#include "bindings/core/v8/V8ObjectConstructor.h" |
#include "core/dom/ContextFeatures.h" |
#include "core/dom/Document.h" |
+#include "core/experiments/Experiments.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/TraceEvent.h" |
@@ -145,6 +146,12 @@ static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct |
{"UNSIGNED_SHORT_CONSTANT", 1, 0, V8DOMConfiguration::ConstantTypeUnsignedShort}, |
}; |
V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, V8TestExceptionConstants, WTF_ARRAY_LENGTH(V8TestExceptionConstants)); |
+ ExecutionContext* ec = currentExecutionContext(isolate); |
+ ALLOW_UNUSED_LOCAL(ec); |
+ String constantsErrorMessage; |
+ ALLOW_UNUSED_LOCAL(constantsErrorMessage); |
+ String errorMessage; |
+ ALLOW_UNUSED_LOCAL(errorMessage); |
} |
v8::Local<v8::FunctionTemplate> V8TestException::domTemplate(v8::Isolate* isolate) |