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

Unified Diff: src/ports/SkDebug_win.cpp

Issue 1405083008: add a note (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkDebug_win.cpp
diff --git a/src/ports/SkDebug_win.cpp b/src/ports/SkDebug_win.cpp
index ed706c1d7b83cc83708cdaa386534f12c4222fa8..67c2397ce59cded63403f577aa4150cb7ff10ee8 100644
--- a/src/ports/SkDebug_win.cpp
+++ b/src/ports/SkDebug_win.cpp
@@ -23,7 +23,7 @@ void SkDebugf(const char format[], ...) {
va_start(args, format);
vfprintf(stderr, format, args);
va_end(args);
- fflush(stderr);
+ fflush(stderr); // stderr seems to be buffered on Windows.
va_start(args, format);
vsnprintf(buffer, kBufferSize, format, args);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698