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

Side by Side Diff: platform_tools/android/apps/visualbench/src/main/jni/main.cpp

Issue 1215023017: Update Android Apps to use gradle (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 5 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698