| 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 23f6b6e72df84e308ed07e8af68048a261f6c717..1d479ffcf5eee1b600f636f425a23a82537ce13c 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);
|
|
|