Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: third_party/WebKit/Source/platform/network/ResourceTimingInfo.h

Issue 1916703002: Prepare for move-only PassOwnPtr in the remaining directories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@core1
Patch Set: Merge with trunk. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698