Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
index f4135720e5cd1237aa1e44ec145b21d5779a9e70..41406dc112bddb82ad1f49589ec0d33d9696fbd2 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
@@ -64,10 +64,13 @@ static void lengthAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& inf |
} |
static void lengthAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) { |
+ v8::Isolate* isolate = info.GetIsolate(); |
+ ALLOW_UNUSED_LOCAL(isolate); |
+ |
v8::Local<v8::Object> holder = info.Holder(); |
TestIntegerIndexed* impl = V8TestIntegerIndexed::toImpl(holder); |
- ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestIntegerIndexed", "length"); |
+ ExceptionState exceptionState(isolate, ExceptionState::SetterContext, "TestIntegerIndexed", "length"); |
// Prepare the value to be set. |
int16_t cppValue = NativeValueTraits<IDLShort>::nativeValue(info.GetIsolate(), v8Value, exceptionState, NormalConversion); |