Index: third_party/WebKit/Source/platform/network/ResourceTimingInfo.h |
diff --git a/third_party/WebKit/Source/platform/network/ResourceTimingInfo.h b/third_party/WebKit/Source/platform/network/ResourceTimingInfo.h |
index 3f772151675241d3392583954a5adebe00f8d3f4..da3c5b51684f8ede570d41f05fdff72faf8d76eb 100644 |
--- a/third_party/WebKit/Source/platform/network/ResourceTimingInfo.h |
+++ b/third_party/WebKit/Source/platform/network/ResourceTimingInfo.h |
@@ -35,6 +35,7 @@ |
#include "platform/network/ResourceRequest.h" |
#include "platform/network/ResourceResponse.h" |
#include "wtf/Allocator.h" |
+#include "wtf/Functional.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/text/AtomicString.h" |
@@ -119,8 +120,8 @@ public: |
template <> |
struct CrossThreadCopier<ResourceTimingInfo> { |
- typedef PassOwnPtr<CrossThreadResourceTimingInfoData> Type; |
- static Type copy(const ResourceTimingInfo& info) { return info.copyData(); } |
+ typedef WTF::PassedWrapper<PassOwnPtr<CrossThreadResourceTimingInfoData>> Type; |
+ static Type copy(const ResourceTimingInfo& info) { return passed(info.copyData()); } |
}; |
} // namespace blink |