diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-05 16:32:43 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-16 15:21:45 +0100 |
commit | 97b90eeccf8e3b805abc355ae38465dfbcd9e23c (patch) | |
tree | ff6d327761cd484ef26b38743d1491ff7cfa089a /chromium/base/metrics/sparse_histogram.cc | |
parent | 3aaaee3312bb9780f7c659167fe811c59dcd1b29 (diff) | |
download | qtwebengine-chromium-97b90eeccf8e3b805abc355ae38465dfbcd9e23c.tar.gz |
Fixes for jumbo build
Fixes necessary to make jumbo build work
Change-Id: I1551ddeaa15fdc4e9db72e86ea49191193cb4964
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/base/metrics/sparse_histogram.cc')
-rw-r--r-- | chromium/base/metrics/sparse_histogram.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/base/metrics/sparse_histogram.cc b/chromium/base/metrics/sparse_histogram.cc index 6d2720c2369..fb63af6f081 100644 --- a/chromium/base/metrics/sparse_histogram.cc +++ b/chromium/base/metrics/sparse_histogram.cc @@ -21,7 +21,7 @@ #include "base/values.h" namespace { -constexpr char kAsciiNewLine[] = "\n"; +constexpr char kAsciiNewLine2[] = "\n"; } // namespace namespace base { @@ -175,8 +175,8 @@ void SparseHistogram::WriteAscii(std::string* output) const { std::unique_ptr<HistogramSamples> snapshot = SnapshotSamples(); WriteAsciiHeader(*snapshot, output); - output->append(kAsciiNewLine); - WriteAsciiBody(*snapshot, true, kAsciiNewLine, output); + output->append(kAsciiNewLine2); + WriteAsciiBody(*snapshot, true, kAsciiNewLine2, output); } base::DictionaryValue SparseHistogram::ToGraphDict() const { @@ -186,7 +186,7 @@ base::DictionaryValue SparseHistogram::ToGraphDict() const { base::DictionaryValue dict; WriteAsciiHeader(*snapshot, &header); - WriteAsciiBody(*snapshot, true, kAsciiNewLine, &body); + WriteAsciiBody(*snapshot, true, kAsciiNewLine2, &body); dict.SetString("header", header); dict.SetString("body", body); |