Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp |
index a9b3d441ce48d134ec4d23c19d2fe526ff02d0af..98221614272a4cf68fbb6c7ce1a31748dca7fc1d 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp |
@@ -66,13 +66,16 @@ static void locationAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& i |
} |
static void locationAttributeSetter(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(); |
TestInterfaceDocument* proxyImpl = V8TestInterfaceDocument::toImpl(holder); |
Location* impl = WTF::getPtr(proxyImpl->location()); |
if (!impl) |
return; |
- ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceDocument", "location"); |
+ ExceptionState exceptionState(isolate, ExceptionState::SetterContext, "TestInterfaceDocument", "location"); |
// Prepare the value to be set. |
V8StringResource<> cppValue = v8Value; |