| Index: examples/http_handler/http_handler.cc
|
| diff --git a/examples/http_handler/http_handler.cc b/examples/http_handler/http_handler.cc
|
| index 95fe142e453aefbd1bdf7d3275ea74d3309b624a..735ed54f59f2c64243c42b633f506662dae07a71 100644
|
| --- a/examples/http_handler/http_handler.cc
|
| +++ b/examples/http_handler/http_handler.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/bind.h"
|
| +#include "mojo/environment/scoped_chromium_init.h"
|
| #include "mojo/public/c/system/main.h"
|
| #include "mojo/public/cpp/application/application_impl_base.h"
|
| #include "mojo/public/cpp/application/connect.h"
|
| @@ -75,6 +76,7 @@ class HttpHandler : public ApplicationImplBase,
|
| } // namespace mojo
|
|
|
| MojoResult MojoMain(MojoHandle application_request) {
|
| + mojo::ScopedChromiumInit init;
|
| mojo::examples::HttpHandler http_handler;
|
| - return mojo::RunMainApplication(application_request, &http_handler);
|
| + return mojo::RunApplication(application_request, &http_handler);
|
| }
|
|
|