Chromium Code Reviews| Index: third_party/WebKit/Source/modules/presentation/Presentation.cpp |
| diff --git a/third_party/WebKit/Source/modules/presentation/Presentation.cpp b/third_party/WebKit/Source/modules/presentation/Presentation.cpp |
| index 6cab8ca71f5ea99a50964823dcdf37e5ae45a09b..9dee78c3a43b8f6d7d2b0eb8768c1e10f60b1e63 100644 |
| --- a/third_party/WebKit/Source/modules/presentation/Presentation.cpp |
| +++ b/third_party/WebKit/Source/modules/presentation/Presentation.cpp |
| @@ -24,6 +24,11 @@ Presentation* Presentation::create(LocalFrame* frame) { |
| PresentationController* controller = PresentationController::from(*frame); |
| ASSERT(controller); |
| controller->setPresentation(presentation); |
| + |
| + if (frame->settings() && frame->settings()->getPresentationReceiver()) { |
|
mlamouri (slow - plz ping)
2017/04/10 12:50:28
Maybe add a comment explaining that this need to b
zhaobin
2017/04/10 21:05:59
Code removed.
|
| + presentation->m_receiver = |
| + new PresentationReceiver(frame, controller->client()); |
| + } |
| return presentation; |
| } |