| 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();
|
|
|