| Index: Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8SVGLengthCustom.cpp b/Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| index 7c400bddd4a3d813749b4fd1acbbdc15cacb0cae..d814ac30c8d0fe7ea5aeec71f231b1eef8150a7c 100644
|
| --- a/Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8SVGLengthCustom.cpp
|
| @@ -74,22 +74,22 @@ void V8SVGLength::valueAttributeSetterCustom(v8::Local<v8::String> name, v8::Loc
|
| wrapper->commitChange();
|
| }
|
|
|
| -void V8SVGLength::convertToSpecifiedUnitsMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +void V8SVGLength::convertToSpecifiedUnitsMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| - SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(args.Holder());
|
| + SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder());
|
| if (wrapper->isReadOnly()) {
|
| - setDOMException(NoModificationAllowedError, args.GetIsolate());
|
| + setDOMException(NoModificationAllowedError, info.GetIsolate());
|
| return;
|
| }
|
|
|
| - if (args.Length() < 1) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("convertToSpecifiedUnits", "SVGLength", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| + if (info.Length() < 1) {
|
| + throwTypeError(ExceptionMessages::failedToExecute("convertToSpecifiedUnits", "SVGLength", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| return;
|
| }
|
|
|
| SVGLength& imp = wrapper->propertyReference();
|
| - ExceptionState es(args.GetIsolate());
|
| - V8TRYCATCH_VOID(int, unitType, toUInt32(args[0]));
|
| + ExceptionState es(info.GetIsolate());
|
| + V8TRYCATCH_VOID(int, unitType, toUInt32(info[0]));
|
| SVGLengthContext lengthContext(wrapper->contextElement());
|
| imp.convertToSpecifiedUnits(unitType, lengthContext, es);
|
| if (es.throwIfNeeded())
|
|
|