Index: third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp |
diff --git a/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp b/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp |
index 06b5b603f944ba8230e372409352970d35fbd29f..e3cb67888b8a1c7ab124fc0d31ae4a46db813539 100644 |
--- a/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp |
+++ b/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp |
@@ -16,7 +16,6 @@ |
#include "core/frame/Navigator.h" |
#include "modules/installedapp/InstalledAppController.h" |
#include "modules/installedapp/RelatedApplication.h" |
-#include "public/platform/modules/installedapp/WebInstalledAppClient.h" |
#include "public/platform/modules/installedapp/WebRelatedApplication.h" |
#include "wtf/PtrUtil.h" |
@@ -79,9 +78,8 @@ ScriptPromise NavigatorInstalledApp::getInstalledRelatedApps( |
return promise; |
} |
- appController->getInstalledApps( |
- WebSecurityOrigin( |
- scriptState->getExecutionContext()->getSecurityOrigin()), |
+ appController->getInstalledRelatedApps( |
+ scriptState->getExecutionContext()->getSecurityOrigin(), |
WTF::wrapUnique( |
new CallbackPromiseAdapter<RelatedAppArray, void>(resolver))); |
return promise; |