Chromium Code Reviews| 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..45fb364f8e92cbf36ffaa5890308cf057f4169e3 100644 |
| --- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h |
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h |
| @@ -37,9 +37,13 @@ class MODULES_EXPORT PresentationReceiver final |
| Member<DOMException>>; |
| public: |
| - explicit PresentationReceiver(LocalFrame*, WebPresentationClient*); |
| + PresentationReceiver(LocalFrame*, WebPresentationClient*); |
| ~PresentationReceiver() = default; |
| + // This need to be eagerly created in order to have the receiver associated |
|
imcheng
2017/04/11 02:00:27
nit: Feels like this should be a class-level comme
zhaobin
2017/04/11 02:57:51
Done.
|
| + // with the client. |
| + MODULES_EXPORT static PresentationReceiver* from(Document&); |
| + |
| // PresentationReceiver.idl implementation |
| ScriptPromise connectionList(ScriptState*); |