| Index: third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
|
| index 2dfe5d1557ed18dfda8d7d1364d9b2721ed046d1..70acbf3429e561aede0150144d32049d03fcaae9 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
|
| @@ -64,7 +64,7 @@ CORE_EXPORT bool DictionaryHelper::Get(const Dictionary& dictionary,
|
| if (!dictionary.Get(key, v8_value))
|
| return false;
|
|
|
| - return V8Call(v8_value->BooleanValue(dictionary.V8Context()), value);
|
| + return v8_value->BooleanValue(dictionary.V8Context()).To(&value);
|
| }
|
|
|
| template <>
|
| @@ -75,7 +75,7 @@ CORE_EXPORT bool DictionaryHelper::Get(const Dictionary& dictionary,
|
| if (!dictionary.Get(key, v8_value))
|
| return false;
|
|
|
| - return V8Call(v8_value->Int32Value(dictionary.V8Context()), value);
|
| + return v8_value->Int32Value(dictionary.V8Context()).To(&value);
|
| }
|
|
|
| template <>
|
| @@ -90,7 +90,7 @@ CORE_EXPORT bool DictionaryHelper::Get(const Dictionary& dictionary,
|
| }
|
|
|
| has_value = true;
|
| - return V8Call(v8_value->NumberValue(dictionary.V8Context()), value);
|
| + return v8_value->NumberValue(dictionary.V8Context()).To(&value);
|
| }
|
|
|
| template <>
|
| @@ -171,7 +171,7 @@ bool DictionaryHelper::Get(const Dictionary& dictionary,
|
| return false;
|
|
|
| int64_t int64_value;
|
| - if (!V8Call(v8_value->IntegerValue(dictionary.V8Context()), int64_value))
|
| + if (!v8_value->IntegerValue(dictionary.V8Context()).To(&int64_value))
|
| return false;
|
| value = int64_value;
|
| return true;
|
| @@ -186,7 +186,7 @@ bool DictionaryHelper::Get(const Dictionary& dictionary,
|
| return false;
|
|
|
| double double_value;
|
| - if (!V8Call(v8_value->NumberValue(dictionary.V8Context()), double_value))
|
| + if (!v8_value->NumberValue(dictionary.V8Context()).To(&double_value))
|
| return false;
|
| doubleToInteger(double_value, value);
|
| return true;
|
|
|