Index: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h |
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h |
index a0c4a0a910d547ed49cdb086cc75087da2b9dade..ac5e003d0ac850ad9783e41d975bc786dc959744 100644 |
--- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h |
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h |
@@ -33,9 +33,10 @@ |
#include "public/platform/WebCommon.h" |
#include "public/platform/WebMessagePortChannel.h" |
-#include "public/platform/WebPassOwnPtr.h" |
#include "public/platform/modules/serviceworker/WebServiceWorker.h" |
+#include <memory> |
+ |
namespace blink { |
class WebServiceWorker; |
@@ -47,9 +48,9 @@ class BLINK_PLATFORM_EXPORT WebServiceWorkerProviderClient { |
public: |
virtual ~WebServiceWorkerProviderClient() { } |
- virtual void setController(WebPassOwnPtr<WebServiceWorker::Handle>, bool shouldNotifyControllerChange) = 0; |
+ virtual void setController(std::unique_ptr<WebServiceWorker::Handle>, bool shouldNotifyControllerChange) = 0; |
- virtual void dispatchMessageEvent(WebPassOwnPtr<WebServiceWorker::Handle>, const WebString& message, const WebMessagePortChannelArray& channels) = 0; |
+ virtual void dispatchMessageEvent(std::unique_ptr<WebServiceWorker::Handle>, const WebString& message, const WebMessagePortChannelArray& channels) = 0; |
}; |
} // namespace blink |