| Index: Source/core/dom/MessagePort.h
|
| diff --git a/Source/core/dom/MessagePort.h b/Source/core/dom/MessagePort.h
|
| index 9cb2eccd67f25f29ed3bb5cbda0ddf0236046082..555b117b047264e22279850329682705c4869508 100644
|
| --- a/Source/core/dom/MessagePort.h
|
| +++ b/Source/core/dom/MessagePort.h
|
| @@ -55,7 +55,7 @@ typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray;
|
| // Not to be confused with WebMessagePortChannelArray; this one uses Vector and OwnPtr instead of WebVector and raw pointers.
|
| typedef Vector<OwnPtr<WebMessagePortChannel>, 1> MessagePortChannelArray;
|
|
|
| -class CORE_EXPORT MessagePort final
|
| +class CORE_EXPORT MessagePort
|
| : public EventTargetWithInlineData
|
| , public RefCountedWillBeNoBase<MessagePort>
|
| , public ActiveDOMObject
|
| @@ -109,9 +109,11 @@ public:
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| -private:
|
| +protected:
|
| explicit MessagePort(ExecutionContext&);
|
| + bool tryGetMessage(RefPtr<SerializedScriptValue>& message, OwnPtr<MessagePortChannelArray>& channels);
|
|
|
| +private:
|
| // WebMessagePortChannelClient implementation.
|
| virtual void messageAvailable() override;
|
| virtual v8::Isolate* scriptIsolate() override;
|
|
|