| Index: third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
|
| index a65e29cd562aaecf2125f64d35def0d0913c9876..2122a40c8f3f164080c99a10731ad05888c425e0 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
|
| @@ -23,7 +23,9 @@ class PresentationConnectionList;
|
| class WebPresentationClient;
|
|
|
| // Implements the PresentationReceiver interface from the Presentation API from
|
| -// which websites can implement the receiving side of a presentation.
|
| +// which websites can implement the receiving side of a presentation. This needs
|
| +// to be eagerly created in order to have the receiver associated with the
|
| +// client.
|
| class MODULES_EXPORT PresentationReceiver final
|
| : public GarbageCollectedFinalized<PresentationReceiver>,
|
| public ScriptWrappable,
|
| @@ -37,9 +39,11 @@ class MODULES_EXPORT PresentationReceiver final
|
| Member<DOMException>>;
|
|
|
| public:
|
| - explicit PresentationReceiver(LocalFrame*, WebPresentationClient*);
|
| + PresentationReceiver(LocalFrame*, WebPresentationClient*);
|
| ~PresentationReceiver() = default;
|
|
|
| + MODULES_EXPORT static PresentationReceiver* from(Document&);
|
| +
|
| // PresentationReceiver.idl implementation
|
| ScriptPromise connectionList(ScriptState*);
|
|
|
|
|