Index: platform_tools/android/apps/visualbench/src/main/jni/main.cpp |
diff --git a/platform_tools/android/apps/visualbench/src/main/jni/main.cpp b/platform_tools/android/apps/visualbench/src/main/jni/main.cpp |
index 2ea6b76b39220cf003f3c82a31d740c368ed67ea..ba78c3f28097048903c28dcdf4d1f531b79c9981 100644 |
--- a/platform_tools/android/apps/visualbench/src/main/jni/main.cpp |
+++ b/platform_tools/android/apps/visualbench/src/main/jni/main.cpp |
@@ -124,7 +124,7 @@ void android_main(struct android_app* state) { |
} |
if (kDestroyRequested_State == visualBenchState.fState) { |
- SkDELETE(visualBenchState.fWindow); |
+ delete visualBenchState.fWindow; |
visualBenchState.fWindow = NULL; |
application_term(); |
ANativeActivity_finish(state->activity); |