| Index: Source/WebCore/bindings/dart/custom/DartWebKitPointCustom.cpp
|
| diff --git a/Source/WebCore/bindings/dart/custom/DartWebKitPointCustom.cpp b/Source/WebCore/bindings/dart/custom/DartWebKitPointCustom.cpp
|
| index dfff134decb3110b08680ab577f688a7cb655c73..a2e8573fd5ad79dd958b169a4088e3b3296d15db 100644
|
| --- a/Source/WebCore/bindings/dart/custom/DartWebKitPointCustom.cpp
|
| +++ b/Source/WebCore/bindings/dart/custom/DartWebKitPointCustom.cpp
|
| @@ -44,20 +44,20 @@ void constructorCallback(Dart_NativeArguments args)
|
| DartApiScope dartApiScope;
|
| Dart_Handle exception;
|
| {
|
| - ParameterAdapter<float> x(Dart_GetNativeArgument(args, 1));
|
| + ParameterAdapter<float> x(Dart_GetNativeArgument(args, 0));
|
| if (!x.conversionSuccessful()) {
|
| exception = x.exception();
|
| goto fail;
|
| }
|
|
|
| - ParameterAdapter<float> y(Dart_GetNativeArgument(args, 2));
|
| + ParameterAdapter<float> y(Dart_GetNativeArgument(args, 1));
|
| if (!y.conversionSuccessful()) {
|
| exception = y.exception();
|
| goto fail;
|
| }
|
|
|
| PassRefPtr<WebKitPoint> point = WebKitPoint::create(x, y);
|
| - DartDOMWrapper::bindDOMObjectToDartWrapper(point.get(), Dart_GetNativeArgument(args, 0));
|
| + DartDOMWrapper::returnValue(args, point.get());
|
| return;
|
| }
|
|
|
|
|