MessageQueue should use a Deque of OwnPtrs
[WebKit-https.git] / Source / WebCore / dom / default / PlatformMessagePortChannel.h
index 283edad..75a1353 100644 (file)
@@ -65,7 +65,7 @@ namespace WebCore {
         public:
             static PassRefPtr<MessagePortQueue> create() { return adoptRef(new MessagePortQueue()); }
 
-            PassOwnPtr<PlatformMessagePortChannel::EventData> tryGetMessage()
+            OwnPtr<PlatformMessagePortChannel::EventData> tryGetMessage()
             {
                 return m_queue.tryGetMessage();
             }