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

Unified Diff: runtime/embedders/openglui/common/extension.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/common/dart_host.cc ('k') | runtime/embedders/openglui/common/gl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/openglui/common/extension.cc
===================================================================
--- runtime/embedders/openglui/common/extension.cc (revision 18917)
+++ runtime/embedders/openglui/common/extension.cc (working copy)
@@ -923,7 +923,7 @@
// 2D Canvas.
-CanvasContext* display_context;
+CanvasContext* display_context = NULL;
void C2DCreateNativeContext(Dart_NativeArguments arguments) {
LOGI("In C2DCreateNativeContext");
@@ -935,6 +935,7 @@
CanvasContext* rtn = new CanvasContext(handle, width, height);
if (display_context == NULL) {
+ LOGI("Created display context");
display_context = rtn;
}
Dart_ExitScope();
« no previous file with comments | « runtime/embedders/openglui/common/dart_host.cc ('k') | runtime/embedders/openglui/common/gl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698