summaryrefslogtreecommitdiff
path: root/chromium/fuchsia/http/http_service_main.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/fuchsia/http/http_service_main.cc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/fuchsia/http/http_service_main.cc')
-rw-r--r--chromium/fuchsia/http/http_service_main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/fuchsia/http/http_service_main.cc b/chromium/fuchsia/http/http_service_main.cc
index 359a15bb84e..6df26c0b1f0 100644
--- a/chromium/fuchsia/http/http_service_main.cc
+++ b/chromium/fuchsia/http/http_service_main.cc
@@ -7,7 +7,7 @@
#include "base/at_exit.h"
#include "base/bind.h"
#include "base/command_line.h"
-#include "base/fuchsia/default_context.h"
+#include "base/fuchsia/process_context.h"
#include "base/fuchsia/scoped_service_binding.h"
#include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h"
@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
// Bind the parent-supplied OutgoingDirectory-request to a directory and
// publish the HTTP service into it.
sys::OutgoingDirectory* outgoing_directory =
- base::fuchsia::ComponentContextForCurrentProcess()->outgoing().get();
+ base::ComponentContextForProcess()->outgoing().get();
HttpServiceImpl http_service;
base::fuchsia::ScopedServiceBinding<::fuchsia::net::oldhttp::HttpService>
binding(outgoing_directory, &http_service);
@@ -36,7 +36,7 @@ int main(int argc, char** argv) {
// connected to this service. The system service manager will restart the
// service on demand as needed.
binding.SetOnLastClientCallback(
- base::BindOnce(&base::RunLoop::Quit, base::Unretained(&run_loop)));
+ base::BindRepeating(&base::RunLoop::Quit, base::Unretained(&run_loop)));
run_loop.Run();
return 0;