diff options
author | Steve Block <steveblock@google.com> | 2011-05-25 19:08:45 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-06-08 13:51:31 +0100 |
commit | 2bde8e466a4451c7319e3a072d118917957d6554 (patch) | |
tree | 28f4a1b869a513e565c7760d0e6a06e7cf1fe95a /Source/WebCore/dom/default/PlatformMessagePortChannel.h | |
parent | 6939c99b71d9372d14a0c74a772108052e8c48c8 (diff) | |
download | external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.zip external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.gz external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.bz2 |
Merge WebKit at r82507: Initial merge by git
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
Diffstat (limited to 'Source/WebCore/dom/default/PlatformMessagePortChannel.h')
-rw-r--r-- | Source/WebCore/dom/default/PlatformMessagePortChannel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/dom/default/PlatformMessagePortChannel.h b/Source/WebCore/dom/default/PlatformMessagePortChannel.h index 2aad952..651810b 100644 --- a/Source/WebCore/dom/default/PlatformMessagePortChannel.h +++ b/Source/WebCore/dom/default/PlatformMessagePortChannel.h @@ -44,7 +44,7 @@ namespace WebCore { // PlatformMessagePortChannel is a platform-dependent interface to the remote side of a message channel. // This default implementation supports multiple threads running within a single process. Implementations for multi-process platforms should define these public APIs in their own platform-specific PlatformMessagePortChannel file. // The goal of this implementation is to eliminate contention except when cloning or closing the port, so each side of the channel has its own separate mutex. - class PlatformMessagePortChannel : public ThreadSafeShared<PlatformMessagePortChannel> { + class PlatformMessagePortChannel : public ThreadSafeRefCounted<PlatformMessagePortChannel> { public: static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>); @@ -59,7 +59,7 @@ namespace WebCore { MessagePort* locallyEntangledPort(const ScriptExecutionContext*); // Wrapper for MessageQueue that allows us to do thread safe sharing by two proxies. - class MessagePortQueue : public ThreadSafeShared<MessagePortQueue> { + class MessagePortQueue : public ThreadSafeRefCounted<MessagePortQueue> { public: static PassRefPtr<MessagePortQueue> create() { return adoptRef(new MessagePortQueue()); } |