Allow GrFontCache::dump() in all builds.
In testing Chrome last week, I discovered that dump() works fine in Release builds, so there's no reason to restrict it to Developer.
R=robertphillips@google.com, egdaniel@google.com
Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/286803002
git-svn-id: http://skia.googlecode.com/svn/trunk@14728 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp
index 29d1b91..57263d4 100644
--- a/src/gpu/GrTextStrike.cpp
+++ b/src/gpu/GrTextStrike.cpp
@@ -187,7 +187,6 @@
}
#endif
-#ifdef SK_DEVELOPER
void GrFontCache::dump() const {
static int gDumpCount = 0;
for (int i = 0; i < kAtlasCount; ++i) {
@@ -206,7 +205,6 @@
}
++gDumpCount;
}
-#endif
///////////////////////////////////////////////////////////////////////////////
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h
index 2f2b720..0355405 100644
--- a/src/gpu/GrTextStrike.h
+++ b/src/gpu/GrTextStrike.h
@@ -96,9 +96,7 @@
void validate() const {}
#endif
-#ifdef SK_DEVELOPER
void dump() const;
-#endif
enum AtlasType {
kA8_AtlasType, //!< 1-byte per pixel