Index: services/files/main.cc |
diff --git a/services/files/main.cc b/services/files/main.cc |
index 500cd9e4a068b96a43c102f17a669abe515da409..9edd5b21319dd6eee8a67ba3f0f1e7461e4d3121 100644 |
--- a/services/files/main.cc |
+++ b/services/files/main.cc |
@@ -2,11 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "mojo/environment/scoped_chromium_init.h" |
#include "mojo/public/c/system/main.h" |
#include "mojo/public/cpp/application/run_application.h" |
#include "services/files/files_app.h" |
MojoResult MojoMain(MojoHandle application_request) { |
+ mojo::ScopedChromiumInit init; |
mojo::files::FilesApp files_app; |
- return mojo::RunMainApplication(application_request, &files_app); |
+ return mojo::RunApplication(application_request, &files_app); |
} |