Index: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h |
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h |
index 6ca5e693b3150ef89c9aab9dcdec387bb1001fc7..c3ac9dec62b027a1a11c2fc30819d89ce929b1b0 100644 |
--- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h |
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h |
@@ -7,12 +7,13 @@ |
#include "public/platform/WebCallbacks.h" |
#include "public/platform/WebPageVisibilityState.h" |
-#include "public/platform/WebPassOwnPtr.h" |
#include "public/platform/WebURL.h" |
#include "public/platform/WebURLRequest.h" |
#include "public/platform/WebVector.h" |
#include "public/platform/modules/serviceworker/WebServiceWorkerClientType.h" |
+#include <memory> |
+ |
namespace blink { |
struct WebServiceWorkerError; |
@@ -40,7 +41,7 @@ struct WebServiceWorkerClientsInfo { |
}; |
// Two WebCallbacks, one for one client, one for a WebVector of clients. |
-using WebServiceWorkerClientCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientInfo>, const WebServiceWorkerError&>; |
+using WebServiceWorkerClientCallbacks = WebCallbacks<std::unique_ptr<WebServiceWorkerClientInfo>, const WebServiceWorkerError&>; |
using WebServiceWorkerClientsCallbacks = WebCallbacks<const WebServiceWorkerClientsInfo&, const WebServiceWorkerError&>; |
} // namespace blink |