Index: Source/bindings/v8/custom/V8SVGLengthCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8SVGLengthCustom.cpp b/Source/bindings/v8/custom/V8SVGLengthCustom.cpp |
index 2bccab5d9a3ad3b91f3dce9f87d9031078ff7a1a..94a7948be933c1760b5e4234722bf5edf00805ac 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 exceptionState(info.GetIsolate()); |
+ ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
SVGLengthContext lengthContext(wrapper->contextElement()); |
float value = imp.value(lengthContext, exceptionState); |
if (exceptionState.throwIfNeeded()) |
@@ -66,7 +66,7 @@ void V8SVGLength::valueAttributeSetterCustom(v8::Local<v8::Value> value, const v |
} |
SVGLength& imp = wrapper->propertyReference(); |
- ExceptionState exceptionState(info.GetIsolate()); |
+ ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
SVGLengthContext lengthContext(wrapper->contextElement()); |
imp.setValue(static_cast<float>(value->NumberValue()), lengthContext, exceptionState); |
if (exceptionState.throwIfNeeded()) |
@@ -88,7 +88,7 @@ void V8SVGLength::convertToSpecifiedUnitsMethodCustom(const v8::FunctionCallback |
} |
SVGLength& imp = wrapper->propertyReference(); |
- ExceptionState exceptionState(info.GetIsolate()); |
+ ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
V8TRYCATCH_VOID(int, unitType, toUInt32(info[0])); |
SVGLengthContext lengthContext(wrapper->contextElement()); |
imp.convertToSpecifiedUnits(unitType, lengthContext, exceptionState); |