Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp |
index ae3d350e1bab2712f05187cbb3e974a3c3bc0296..830990f2e30401183188ddbc527a5fc408541093 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp |
@@ -63,10 +63,13 @@ static void doubleAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Va |
} |
static void doubleAttributeAttributeSetter(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(); |
TestInterfaceOriginTrialEnabled* impl = V8TestInterfaceOriginTrialEnabled::toImpl(holder); |
- ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceOriginTrialEnabled", "doubleAttribute"); |
+ ExceptionState exceptionState(isolate, ExceptionState::SetterContext, "TestInterfaceOriginTrialEnabled", "doubleAttribute"); |
// Prepare the value to be set. |
double cppValue = NativeValueTraits<IDLDouble>::nativeValue(info.GetIsolate(), v8Value, exceptionState); |
@@ -85,10 +88,13 @@ static void conditionalLongAttributeAttributeGetter(const v8::FunctionCallbackIn |
} |
static void conditionalLongAttributeAttributeSetter(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(); |
TestInterfaceOriginTrialEnabled* impl = V8TestInterfaceOriginTrialEnabled::toImpl(holder); |
- ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceOriginTrialEnabled", "conditionalLongAttribute"); |
+ ExceptionState exceptionState(isolate, ExceptionState::SetterContext, "TestInterfaceOriginTrialEnabled", "conditionalLongAttribute"); |
// Prepare the value to be set. |
int32_t cppValue = NativeValueTraits<IDLLong>::nativeValue(info.GetIsolate(), v8Value, exceptionState, NormalConversion); |
@@ -111,6 +117,9 @@ static void staticStringAttributeAttributeGetter(const v8::FunctionCallbackInfo< |
} |
static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) { |
+ v8::Isolate* isolate = info.GetIsolate(); |
+ ALLOW_UNUSED_LOCAL(isolate); |
+ |
// Prepare the value to be set. |
V8StringResource<> cppValue = v8Value; |
if (!cppValue.prepare()) |