Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp |
index 9c91462ca50aab3e8ad306bd54eb6b82b4654777..bd17b62a978350714365a90e43a2fa14ef9c4898 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp |
@@ -14,6 +14,7 @@ |
#include "bindings/core/v8/V8ObjectConstructor.h" |
#include "core/dom/ContextFeatures.h" |
#include "core/dom/Document.h" |
+#include "core/experiments/Experiments.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/TraceEvent.h" |
#include "wtf/GetPtr.h" |
@@ -181,6 +182,8 @@ static void installV8TestIntegerIndexedGlobalTemplate(v8::Local<v8::FunctionTemp |
} |
v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(TestIntegerIndexedGlobalV8Internal::indexedPropertyGetterCallback, TestIntegerIndexedGlobalV8Internal::indexedPropertySetterCallback, 0, TestIntegerIndexedGlobalV8Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestIntegerIndexedGlobal>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNone); |
instanceTemplate->SetHandler(indexedPropertyHandlerConfig); |
+ String errorMessage; |
+ ALLOW_UNUSED_LOCAL(errorMessage); |
functionTemplate->SetHiddenPrototype(true); |
} |