| 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 e29f745d06e9c27b8817d90c9f61efd5711cafe1..1d03481b65495254b085584bc16a346ff7fc925d 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;
|
|
|
| + static PresentationReceiver* From(Document&);
|
| +
|
| // PresentationReceiver.idl implementation
|
| ScriptPromise connectionList(ScriptState*);
|
|
|
|
|