| Index: third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/FunctionalTest.cpp b/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| index 0293b84907db18857d0ce06f18f0c8d6d3fb72a9..03c6e7c6ce0f17aafefc67b7628f06c8eb9dce49 100644
|
| --- a/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| +++ b/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| @@ -78,11 +78,6 @@ private:
|
| int m_value;
|
| };
|
|
|
| -UnwrappedClass Unwrap(const WrappedClass& wrapped)
|
| -{
|
| - return wrapped.unwrap();
|
| -}
|
| -
|
| template<> struct ParamStorageTraits<ClassToBeWrapped> {
|
| using StorageType = WrappedClass;
|
| };
|
| @@ -109,6 +104,21 @@ private:
|
| WTF::WeakPtrFactory<HasWeakPtrSupport> m_weakPtrFactory;
|
| };
|
|
|
| +} // namespace WTF
|
| +
|
| +namespace base {
|
| +
|
| +template <>
|
| +struct BindUnwrapTraits<WTF::WrappedClass> {
|
| + static WTF::UnwrappedClass Unwrap(const WTF::WrappedClass& wrapped)
|
| + {
|
| + return wrapped.unwrap();
|
| + }
|
| +};
|
| +
|
| +} // namespace base
|
| +
|
| +namespace WTF {
|
| namespace {
|
|
|
| int returnFortyTwo()
|
|
|