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

Unified Diff: base/logging.cc

Issue 596103002: Fix more disabled MSVC warnings, base/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 6 years, 3 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 | « base/logging.h ('k') | base/logging_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/logging.cc
diff --git a/base/logging.cc b/base/logging.cc
index 8f75aa07057e8488abc058d33a195a972babfdfc..6593d2ce7b915fd4b978eafef6a1ba84a56002e3 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -687,7 +687,7 @@ void LogMessage::Init(const char* file, int line) {
stream_ << ":" << filename << "(" << line << ")] ";
- message_start_ = stream_.tellp();
+ message_start_ = stream_.str().length();
}
#if defined(OS_WIN)
« no previous file with comments | « base/logging.h ('k') | base/logging_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698