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

Unified Diff: bench/SkBenchLogger.h

Issue 26680004: flush after every print in windows (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: bench and gm prints Created 7 years, 2 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 | gm/gm_expectations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/SkBenchLogger.h
diff --git a/bench/SkBenchLogger.h b/bench/SkBenchLogger.h
index 5eed9d373c3f2f3af9ba867754f7d7fb8da03444..21d64e4ea655e61774112b16afaee011e4e85e68 100644
--- a/bench/SkBenchLogger.h
+++ b/bench/SkBenchLogger.h
@@ -63,11 +63,10 @@ public:
private:
#ifdef SK_BUILD_FOR_ANDROID
void nativeLogError(const char msg[]) { SkDebugf("%s", msg); }
- void nativeLogProgress(const char msg[]) { SkDebugf("%s", msg); }
#else
void nativeLogError(const char msg[]) { fprintf(stderr, "%s", msg); }
- void nativeLogProgress(const char msg[]) { printf("%s", msg); }
#endif
+ void nativeLogProgress(const char msg[]) { SkDebugf("%s", msg); }
void fileWrite(const char msg[], size_t size);
« no previous file with comments | « no previous file | gm/gm_expectations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698