| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 * | 6 * |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include <android_native_app_glue.h> | 9 #include <android_native_app_glue.h> |
| 10 | 10 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 if (kDestroyRequested_State == visualBenchState.fState) { | 127 if (kDestroyRequested_State == visualBenchState.fState) { |
| 128 SkDELETE(visualBenchState.fWindow); | 128 SkDELETE(visualBenchState.fWindow); |
| 129 visualBenchState.fWindow = NULL; | 129 visualBenchState.fWindow = NULL; |
| 130 application_term(); | 130 application_term(); |
| 131 ANativeActivity_finish(state->activity); | 131 ANativeActivity_finish(state->activity); |
| 132 visualBenchState.fState = kFinished_State; | 132 visualBenchState.fState = kFinished_State; |
| 133 } | 133 } |
| 134 } | 134 } |
| 135 } | 135 } |
| OLD | NEW |