| Index: Source/bindings/v8/custom/V8LocationCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8LocationCustom.cpp b/Source/bindings/v8/custom/V8LocationCustom.cpp
|
| index e21048c0e31694805bd84f71ef1daa61225e8419..a9009c9f335547f5fc36a807c6d9a4f26ff117ff 100644
|
| --- a/Source/bindings/v8/custom/V8LocationCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8LocationCustom.cpp
|
| @@ -33,14 +33,14 @@
|
|
|
| namespace WebCore {
|
|
|
| -void V8Location::valueOfMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +void V8Location::valueOfMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| // Just return the this object the way the normal valueOf function
|
| // on the Object prototype would. The valueOf function is only
|
| // added to make sure that it cannot be overwritten on location
|
| // objects, since that would provide a hook to change the string
|
| // conversion behavior of location objects.
|
| - v8SetReturnValue(args, args.This());
|
| + v8SetReturnValue(info, info.This());
|
| }
|
|
|
| } // namespace WebCore
|
|
|