| Index: Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8SVGLengthCustom.cpp b/Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| index b4120cfcd6877bbb190cfa39d2af404db4aa7d94..a3b9a33c17bbae3e00882ef0b191fb54c78c5657 100644
|
| --- a/Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| @@ -44,7 +44,7 @@ void V8SVGLength::valueAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::
|
| {
|
| SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder());
|
| SVGLength& imp = wrapper->propertyReference();
|
| - ExceptionState es(info.GetIsolate());
|
| + ExceptionState es(info.Holder(), info.GetIsolate());
|
| SVGLengthContext lengthContext(wrapper->contextElement());
|
| float value = imp.value(lengthContext, es);
|
| if (es.throwIfNeeded())
|
| @@ -66,7 +66,7 @@ void V8SVGLength::valueAttributeSetterCustom(v8::Local<v8::Value> value, const v
|
| }
|
|
|
| SVGLength& imp = wrapper->propertyReference();
|
| - ExceptionState es(info.GetIsolate());
|
| + ExceptionState es(info.Holder(), info.GetIsolate());
|
| SVGLengthContext lengthContext(wrapper->contextElement());
|
| imp.setValue(static_cast<float>(value->NumberValue()), lengthContext, es);
|
| if (es.throwIfNeeded())
|
| @@ -88,7 +88,7 @@ void V8SVGLength::convertToSpecifiedUnitsMethodCustom(const v8::FunctionCallback
|
| }
|
|
|
| SVGLength& imp = wrapper->propertyReference();
|
| - ExceptionState es(info.GetIsolate());
|
| + ExceptionState es(info.Holder(), info.GetIsolate());
|
| V8TRYCATCH_VOID(int, unitType, toUInt32(info[0]));
|
| SVGLengthContext lengthContext(wrapper->contextElement());
|
| imp.convertToSpecifiedUnits(unitType, lengthContext, es);
|
|
|