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 8a3e16adae0692710e19bc76d58210d09b634497..7807d556617bfb2a4afe32b728030786a24dbf58 100644 |
| --- a/third_party/WebKit/Source/modules/presentation/Presentation.cpp |
| +++ b/third_party/WebKit/Source/modules/presentation/Presentation.cpp |
| @@ -10,6 +10,8 @@ |
| #include "modules/presentation/PresentationController.h" |
| #include "modules/presentation/PresentationReceiver.h" |
| #include "modules/presentation/PresentationRequest.h" |
| +#include "platform/weborigin/KURL.h" |
| +#include "wtf/Vector.h" |
| namespace blink { |
| @@ -45,7 +47,8 @@ void Presentation::setDefaultRequest(PresentationRequest* request) { |
| PresentationController* controller = PresentationController::from(*frame()); |
| if (!controller) |
| return; |
| - controller->setDefaultRequestUrl(request ? request->url() : KURL()); |
| + controller->setDefaultRequestUrl(request ? request->urls() |
|
mark a. foltz
2016/12/09 05:38:03
Do we need to call setDefaultRequestUrl at all for
whywhat
2016/12/09 22:44:09
We probably do so that navigator.presentation.defa
zhaobin
2016/12/09 23:01:59
Done.
|
| + : WTF::Vector<KURL>()); |
| } |
| PresentationReceiver* Presentation::receiver() { |