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

Unified Diff: runtime/embedders/openglui/android/main.cc

Issue 12340036: Android improvements: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | « runtime/embedders/openglui/android/eventloop.cc ('k') | runtime/embedders/openglui/common/canvas_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/openglui/android/main.cc
===================================================================
--- runtime/embedders/openglui/android/main.cc (revision 18917)
+++ runtime/embedders/openglui/android/main.cc (working copy)
@@ -12,8 +12,9 @@
void android_main(android_app* application) {
app_dummy(); // Link in native_app_glue.
- AndroidGraphicsHandler graphics_handler(application);
- VMGlue vm_glue(&graphics_handler, "/data/data/com.google.dartndk/app_dart");
+ const char* resource_path = "/data/data/com.google.dartndk/app_dart";
+ AndroidGraphicsHandler graphics_handler(application, resource_path);
+ VMGlue vm_glue(&graphics_handler, resource_path);
AndroidInputHandler input_handler(&vm_glue, &graphics_handler);
AndroidSoundHandler sound_handler(application);
Timer timer;
« no previous file with comments | « runtime/embedders/openglui/android/eventloop.cc ('k') | runtime/embedders/openglui/common/canvas_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698