aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-28 14:17:03 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-28 14:17:03 +0000
commit515dcd36032997ce335daa0163c6d67e851bcad1 (patch)
treea2f8bf979ed20e575e763d94ddea4cf7e89ce18c /tests
parent4d213ab944d96ad60a243ac1ad21c793c1acc80a (diff)
Replace uses of GR_DEBUG by SK_DEBUG.
BUG=None R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23137022 git-svn-id: http://skia.googlecode.com/svn/trunk@10978 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/HashCacheTest.cpp2
-rw-r--r--tests/LListTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/HashCacheTest.cpp b/tests/HashCacheTest.cpp
index d58b86c046..273344711a 100644
--- a/tests/HashCacheTest.cpp
+++ b/tests/HashCacheTest.cpp
@@ -46,7 +46,7 @@ public:
return entry.fKey == key.fKey;
}
-#if GR_DEBUG
+#ifdef SK_DEBUG
static uint32_t GetHash(const HashElement& entry) {
return entry.fKey;
}
diff --git a/tests/LListTest.cpp b/tests/LListTest.cpp
index 7c03ab579c..88fe11dd39 100644
--- a/tests/LListTest.cpp
+++ b/tests/LListTest.cpp
@@ -38,7 +38,7 @@ static void check_list(const SkTInternalLList<ListElement>& list,
ListElement elements[4]) {
REPORTER_ASSERT(reporter, empty == list.isEmpty());
-#if SK_DEBUG
+#ifdef SK_DEBUG
list.validate();
REPORTER_ASSERT(reporter, numElements == list.countEntries());
REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0]));