| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 if (kDestroyRequested_State == visualBenchState.fState) { | 126 if (kDestroyRequested_State == visualBenchState.fState) { |
| 127 SkDELETE(visualBenchState.fWindow); | 127 SkDELETE(visualBenchState.fWindow); |
| 128 visualBenchState.fWindow = NULL; | 128 visualBenchState.fWindow = NULL; |
| 129 application_term(); | 129 application_term(); |
| 130 ANativeActivity_finish(state->activity); | 130 ANativeActivity_finish(state->activity); |
| 131 visualBenchState.fState = kFinished_State; | 131 visualBenchState.fState = kFinished_State; |
| 132 } | 132 } |
| 133 } | 133 } |
| 134 } | 134 } |
| OLD | NEW |