summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h')
-rw-r--r--src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h b/src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h
index 384102030..93b224b56 100644
--- a/src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h
+++ b/src/3rdparty/webkit/WebCore/dom/MessagePortChannel.h
@@ -48,7 +48,7 @@ namespace WebCore {
// MessagePortChannel is a platform-independent interface to the remote side of a message channel.
// It acts as a wrapper around the platform-dependent PlatformMessagePortChannel implementation which ensures that the platform-dependent close() method is invoked before destruction.
- class MessagePortChannel : Noncopyable {
+ class MessagePortChannel : public Noncopyable {
public:
static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>);
@@ -95,6 +95,8 @@ namespace WebCore {
~MessagePortChannel();
+ PlatformMessagePortChannel* channel() const { return m_channel.get(); }
+
private:
MessagePortChannel(PassRefPtr<PlatformMessagePortChannel>);
RefPtr<PlatformMessagePortChannel> m_channel;