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

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: onlyIf Created 5 years, 4 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698