Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
index 3bf05a0b10fb20ee0f13c7bf403c9fc3e2888657..5064c5ebe1b2abfa4ca6acef7b593607fbb62532 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
@@ -16,10 +16,11 @@ |
#include "modules/serviceworkers/ServiceWorkerWindowClientCallback.h" |
#include "public/platform/WebString.h" |
#include "wtf/RefPtr.h" |
+#include <memory> |
namespace blink { |
-ServiceWorkerWindowClient* ServiceWorkerWindowClient::take(ScriptPromiseResolver*, PassOwnPtr<WebServiceWorkerClientInfo> webClient) |
+ServiceWorkerWindowClient* ServiceWorkerWindowClient::take(ScriptPromiseResolver*, std::unique_ptr<WebServiceWorkerClientInfo> webClient) |
{ |
return webClient ? ServiceWorkerWindowClient::create(*webClient) : nullptr; |
} |