Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerRepositoryClient.h

Issue 2043583002: Remove the use of OwnedPtrDeleter in WebMessagePortChannel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
« no previous file with comments | « third_party/WebKit/Source/core/workers/SharedWorker.cpp ('k') | third_party/WebKit/Source/platform/CrossThreadCopier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698