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

Unified Diff: third_party/WebKit/Source/wtf/DataLog.cpp

Issue 2386843002: reflow comments in wtf (Closed)
Patch Set: comments (heh!) Created 4 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 | « third_party/WebKit/Source/wtf/CurrentTime.h ('k') | third_party/WebKit/Source/wtf/DateMath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/DataLog.cpp
diff --git a/third_party/WebKit/Source/wtf/DataLog.cpp b/third_party/WebKit/Source/wtf/DataLog.cpp
index 03e0bd03f784c96c0e7a580a1cefab40efed0d9c..f70534c295b39be270b68368359f65f208b8f80e 100644
--- a/third_party/WebKit/Source/wtf/DataLog.cpp
+++ b/third_party/WebKit/Source/wtf/DataLog.cpp
@@ -32,10 +32,12 @@
#define DATA_LOG_TO_FILE 0
-// Uncomment to force logging to the given file regardless of what the environment variable says. Note that
-// we will append ".<pid>.txt" where <pid> is the PID.
+// Uncomment to force logging to the given file regardless of what the
+// environment variable says. Note that we will append ".<pid>.txt" where <pid>
+// is the PID.
-// This path won't work on Windows, make sure to change to something like C:\\Users\\<more path>\\log.txt.
+// This path won't work on Windows, make sure to change to something like
+// C:\\Users\\<more path>\\log.txt.
#define DATA_LOG_FILENAME "/tmp/WTFLog"
namespace WTF {
@@ -68,9 +70,9 @@ static void initializeLogFileOnce() {
if (!file)
file = new FilePrintStream(stderr, FilePrintStream::Borrow);
- setvbuf(
- file->file(), 0, _IONBF,
- 0); // Prefer unbuffered output, so that we get a full log upon crash or deadlock.
+ // Prefer unbuffered output, so that we get a full log upon crash or
+ // deadlock.
+ setvbuf(file->file(), 0, _IONBF, 0);
}
static void initializeLogFile() {
« no previous file with comments | « third_party/WebKit/Source/wtf/CurrentTime.h ('k') | third_party/WebKit/Source/wtf/DateMath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698