| Index: third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
|
| diff --git a/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp b/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
|
| index 3e61c6c8a31571918ad93e13551ede8ac75b082a..98b8e7f5dff48d40df46f33d53c6cedc65584c0d 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
|
| @@ -7,42 +7,42 @@
|
| namespace blink {
|
| namespace protocol {
|
|
|
| -PassOwnPtr<protocol::Value> toValue(int value)
|
| +std::unique_ptr<protocol::Value> toValue(int value)
|
| {
|
| return FundamentalValue::create(value);
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(double value)
|
| +std::unique_ptr<protocol::Value> toValue(double value)
|
| {
|
| return FundamentalValue::create(value);
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(bool value)
|
| +std::unique_ptr<protocol::Value> toValue(bool value)
|
| {
|
| return FundamentalValue::create(value);
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(const String16& param)
|
| +std::unique_ptr<protocol::Value> toValue(const String16& param)
|
| {
|
| return StringValue::create(param);
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(const String& param)
|
| +std::unique_ptr<protocol::Value> toValue(const String& param)
|
| {
|
| return StringValue::create(param);
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(Value* param)
|
| +std::unique_ptr<protocol::Value> toValue(Value* param)
|
| {
|
| return param->clone();
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(DictionaryValue* param)
|
| +std::unique_ptr<protocol::Value> toValue(DictionaryValue* param)
|
| {
|
| return param->clone();
|
| }
|
|
|
| -PassOwnPtr<protocol::Value> toValue(ListValue* param)
|
| +std::unique_ptr<protocol::Value> toValue(ListValue* param)
|
| {
|
| return param->clone();
|
| }
|
|
|