Index: src/core/SkGraphics.cpp |
diff --git a/src/core/SkGraphics.cpp b/src/core/SkGraphics.cpp |
index 51521e42b1e2189cffa45e2a9a85d7d2a7158aaa..634b895db371ad6d847e0af33e51fcc2c426bd12 100644 |
--- a/src/core/SkGraphics.cpp |
+++ b/src/core/SkGraphics.cpp |
@@ -55,8 +55,10 @@ void SkGraphics::Init() { |
#ifdef SK_DEVELOPER |
skRTConfRegistry().possiblyDumpFile(); |
skRTConfRegistry().validate(); |
- SkDebugf("Non-default runtime configuration options:\n"); |
- skRTConfRegistry().printNonDefault( ); |
+ if (skRTConfRegistry().hasNonDefault()) { |
+ SkDebugf("Non-default runtime configuration options:\n"); |
+ skRTConfRegistry().printNonDefault(); |
+ } |
#endif |
#ifdef BUILD_EMBOSS_TABLE |