| Index: chrome/service/service_main.cc
|
| diff --git a/chrome/service/service_main.cc b/chrome/service/service_main.cc
|
| index 4e3318cfd59cec9be4fae7ee3b952ab42fb5fe25..81ffb8874836ebf83524ef428448f87fd16771c6 100644
|
| --- a/chrome/service/service_main.cc
|
| +++ b/chrome/service/service_main.cc
|
| @@ -6,6 +6,7 @@
|
| #include "base/debug/debugger.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/metrics/statistics_recorder.h"
|
| +#include "base/run_loop.h"
|
| #include "chrome/common/service_process_util.h"
|
| #include "chrome/service/service_process.h"
|
| #include "content/public/common/main_function_params.h"
|
| @@ -37,7 +38,7 @@ int ServiceProcessMain(const content::MainFunctionParams& parameters) {
|
| if (service_process.Initialize(&main_message_loop,
|
| parameters.command_line,
|
| state.release())) {
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| } else {
|
| LOG(ERROR) << "Service process failed to initialize";
|
| }
|
|
|