Index: third_party/WebKit/Source/core/workers/SharedWorkerRepositoryClient.h |
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerRepositoryClient.h b/third_party/WebKit/Source/core/workers/SharedWorkerRepositoryClient.h |
index b447a2851f15a29a3a7253136e221bfba66b151d..733550088dfa7d6c4c4f16bbe17f4876a8adbe17 100644 |
--- a/third_party/WebKit/Source/core/workers/SharedWorkerRepositoryClient.h |
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerRepositoryClient.h |
@@ -32,14 +32,11 @@ |
#define SharedWorkerRepositoryClient_h |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebMessagePortChannel.h" |
#include "wtf/Forward.h" |
#include "wtf/Noncopyable.h" |
namespace blink { |
-class WebMessagePortChannel; |
-} |
- |
-namespace blink { |
class Document; |
class ExceptionState; |
@@ -53,7 +50,7 @@ public: |
SharedWorkerRepositoryClient() { } |
virtual ~SharedWorkerRepositoryClient() { } |
- virtual void connect(SharedWorker*, PassOwnPtr<WebMessagePortChannel>, const KURL&, const String& name, ExceptionState&) = 0; |
+ virtual void connect(SharedWorker*, WebMessagePortChannelUniquePtr, const KURL&, const String& name, ExceptionState&) = 0; |
virtual void documentDetached(Document*) = 0; |
}; |