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

Unified Diff: bench/nanobench.cpp

Issue 481513004: Define NDEBUG instead of SK_DEBUG/SK_RELEASE. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | experimental/Intersection/CubicIntersection_Test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index a1fea22a85334feac58641407360c315de105772..ae3f7f40403decc7ed322cf35ffbdcc3735a7dfe 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -614,7 +614,7 @@ int nanobench_main() {
SkCanvas* canvas = targets[j]->surface.get() ? targets[j]->surface->getCanvas() : NULL;
const char* config = targets[j]->config.name;
-#if SK_DEBUG
+#ifdef SK_DEBUG
// skia:2797 Some SKPs SkASSERT in debug mode. Skip them for now.
if (0 == strcmp("565", config) && SkStrContains(bench->getName(), ".skp")) {
SkDebugf("Skipping 565 %s. See skia:2797\n", bench->getName());
« no previous file with comments | « no previous file | experimental/Intersection/CubicIntersection_Test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698