Index: components/test_runner/test_runner.cc |
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc |
index 3b5bc578e6d2d4164abc4e3cd19c21c4cb6bd123..acc03f7772f10f3869c49953ff94a9ec858fb74f 100644 |
--- a/components/test_runner/test_runner.cc |
+++ b/components/test_runner/test_runner.cc |
@@ -14,6 +14,7 @@ |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/stringprintf.h" |
#include "build/build_config.h" |
+#include "components/test_runner/app_banner_client.h" |
#include "components/test_runner/mock_credential_manager_client.h" |
#include "components/test_runner/mock_web_speech_recognizer.h" |
#include "components/test_runner/test_interfaces.h" |
@@ -1551,7 +1552,7 @@ void TestRunnerBindings::ResolveBeforeInstallPromptPromise( |
if (!runner_) |
return; |
- return runner_->ResolveBeforeInstallPromptPromise(request_id, platform); |
+ runner_->ResolveBeforeInstallPromptPromise(request_id, platform); |
} |
std::string TestRunnerBindings::PlatformName() { |
@@ -2934,7 +2935,7 @@ void TestRunner::DispatchBeforeInstallPromptEvent( |
void TestRunner::ResolveBeforeInstallPromptPromise( |
int request_id, |
const std::string& platform) { |
- delegate_->ResolveBeforeInstallPromptPromise(request_id, platform); |
+ test_interfaces_->GetAppBannerClient()->ResolvePromise(request_id, platform); |
} |
void TestRunner::SetPOSIXLocale(const std::string& locale) { |