Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc

Issue 299263002: Revert 272472 "Mojo: nuke EnvironmentData" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/mojo/environment/environment.cc ('k') | trunk/src/mojo/mojo.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc
===================================================================
--- trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc (revision 272588)
+++ trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc (working copy)
@@ -12,6 +12,7 @@
#include "mojo/examples/pepper_container_app/plugin_module.h"
#include "mojo/examples/pepper_container_app/type_converters.h"
#include "mojo/public/cpp/bindings/allocation_scope.h"
+#include "mojo/public/cpp/environment/environment.h"
#include "mojo/public/cpp/gles2/gles2.h"
#include "mojo/public/cpp/shell/application.h"
#include "mojo/public/cpp/system/core.h"
@@ -120,6 +121,7 @@
extern "C" PEPPER_CONTAINER_APP_EXPORT MojoResult CDECL MojoMain(
MojoHandle shell_handle) {
+ mojo::Environment env;
mojo::GLES2Initializer gles2;
base::MessageLoop run_loop;
mojo::examples::PepperContainerApp app(shell_handle);
« no previous file with comments | « trunk/src/mojo/environment/environment.cc ('k') | trunk/src/mojo/mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698