Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
index f09d2ece98f445c40de0f3ebdabb3a5295bc29b7..9166180f40520e80392a93c590b5a86b542d5cb8 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -73,8 +73,8 @@ |
#include "public/platform/WebDocumentSubresourceFilter.h" |
#include "public/platform/WebFrameScheduler.h" |
#include "public/platform/WebInsecureRequestPolicy.h" |
- |
#include <algorithm> |
+#include <memory> |
namespace blink { |
@@ -397,11 +397,11 @@ bool FrameFetchContext::shouldLoadNewResource(Resource::Type type) const |
return m_documentLoader == frame()->loader().documentLoader(); |
} |
-static PassOwnPtr<TracedValue> loadResourceTraceData(unsigned long identifier, const KURL& url, int priority) |
+static std::unique_ptr<TracedValue> loadResourceTraceData(unsigned long identifier, const KURL& url, int priority) |
{ |
String requestId = IdentifiersFactory::requestId(identifier); |
- OwnPtr<TracedValue> value = TracedValue::create(); |
+ std::unique_ptr<TracedValue> value = TracedValue::create(); |
value->setString("requestId", requestId); |
value->setString("url", url.getString()); |
value->setInteger("priority", priority); |