| Index: third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.h
|
| diff --git a/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.h b/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.h
|
| index acb33a9ab25556193b131f7749bf720e3421a832..b82f04f588f7f1e7fe070fd1a7922b54c17e6716 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.h
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.h
|
| @@ -36,14 +36,7 @@ template<typename T> std::unique_ptr<protocol::Value> toValue(T* param)
|
|
|
| template<typename T> std::unique_ptr<protocol::Value> toValue(const std::unique_ptr<T>& param)
|
| {
|
| - static_assert(sizeof(T) == 0, "use raw pointer version.");
|
| - return nullptr;
|
| -}
|
| -
|
| -template<typename T> std::unique_ptr<protocol::Value> toValue(std::unique_ptr<T> param)
|
| -{
|
| - static_assert(sizeof(T) == 0, "use raw pointer version.");
|
| - return nullptr;
|
| + return toValue(param.get());
|
| }
|
|
|
| template<typename T>
|
|
|