Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index ba9278ed506e05cd4f4bc762bcbee5e02ce3b87f..8df59ff5741052edca556ce2345e931cc1ba3fc8 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -51,7 +51,7 @@ void GrContext::dumpCacheStats(SkString* out) const { |
void GrContext::printCacheStats() const { |
SkString out; |
this->dumpCacheStats(&out); |
- SkDebugf(out.c_str()); |
+ SkDebugf("%s", out.c_str()); |
} |
void GrContext::dumpGpuStats(SkString* out) const { |
@@ -63,7 +63,7 @@ void GrContext::dumpGpuStats(SkString* out) const { |
void GrContext::printGpuStats() const { |
SkString out; |
this->dumpGpuStats(&out); |
- SkDebugf(out.c_str()); |
+ SkDebugf("%s", out.c_str()); |
} |
#if GR_GPU_STATS |