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

Unified Diff: src/log-utils.cc

Issue 2643393004: Revert of [build] Introduce an embedder version string (Closed)
Patch Set: Created 3 years, 11 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 | « include/v8-version-string.h ('k') | src/version.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log-utils.cc
diff --git a/src/log-utils.cc b/src/log-utils.cc
index 970e7965f09718d6042b2f175526b78eeabc41d0..462f83f5345356a0502887b179fa154e63965375 100644
--- a/src/log-utils.cc
+++ b/src/log-utils.cc
@@ -55,16 +55,9 @@
if (output_handle_ != nullptr) {
Log::MessageBuilder msg(this);
- if (strlen(Version::GetEmbedder()) == 0) {
- msg.Append("v8-version,%d,%d,%d,%d,%d", Version::GetMajor(),
- Version::GetMinor(), Version::GetBuild(),
- Version::GetPatch(), Version::IsCandidate());
- } else {
- msg.Append("v8-version,%d,%d,%d,%d,%s,%d", Version::GetMajor(),
- Version::GetMinor(), Version::GetBuild(),
- Version::GetPatch(), Version::GetEmbedder(),
- Version::IsCandidate());
- }
+ msg.Append("v8-version,%d,%d,%d,%d,%d", Version::GetMajor(),
+ Version::GetMinor(), Version::GetBuild(), Version::GetPatch(),
+ Version::IsCandidate());
msg.WriteToLogFile();
}
}
« no previous file with comments | « include/v8-version-string.h ('k') | src/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698