| Index: Source/bindings/v8/custom/V8DOMPointCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8DOMPointCustom.cpp b/Source/bindings/v8/custom/V8DOMPointCustom.cpp
|
| index 363bfb1b983b4b6d15c5c2cfcee96ace0466557c..ce4aa53eec5a258c3d48cd26a1b31ca2341da067 100644
|
| --- a/Source/bindings/v8/custom/V8DOMPointCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8DOMPointCustom.cpp
|
| @@ -39,7 +39,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -v8::Handle<v8::Value> V8DOMPoint::constructorCustom(const v8::Arguments& args)
|
| +void V8DOMPoint::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| float x = 0;
|
| float y = 0;
|
| @@ -58,7 +58,7 @@ v8::Handle<v8::Value> V8DOMPoint::constructorCustom(const v8::Arguments& args)
|
| RefPtr<DOMPoint> point = DOMPoint::create(x, y);
|
| v8::Handle<v8::Object> wrapper = args.Holder();
|
| V8DOMWrapper::associateObjectWithWrapper(point.release(), &info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
|
| - return wrapper;
|
| + args.GetReturnValue().Set(wrapper);
|
| }
|
|
|
| } // namespace WebCore
|
|
|