diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 20:47:00 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 20:47:00 +0000 |
commit | d232c09f2584c80b6fde6b987fac32c8de57bfd7 (patch) | |
tree | 9e7601791ee5ccef2bef3bfde9e2eb85a5f095e3 /base/histogram.cc | |
parent | 76328988113b8bfc1cda9efdc266213199d413ca (diff) | |
download | chromium_src-d232c09f2584c80b6fde6b987fac32c8de57bfd7.zip chromium_src-d232c09f2584c80b6fde6b987fac32c8de57bfd7.tar.gz chromium_src-d232c09f2584c80b6fde6b987fac32c8de57bfd7.tar.bz2 |
Remove use of wide characters in stats table identifiers.
Review URL: http://codereview.chromium.org/11544
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/histogram.cc')
-rw-r--r-- | base/histogram.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/histogram.cc b/base/histogram.cc index 384716d..2b05077 100644 --- a/base/histogram.cc +++ b/base/histogram.cc @@ -25,7 +25,7 @@ const int Histogram::kHexRangePrintingFlag = 0x8000; Histogram::Histogram(const wchar_t* name, Sample minimum, Sample maximum, size_t bucket_count) - : StatsRate(name), + : StatsRate(WideToASCII(name).c_str()), histogram_name_(WideToASCII(name)), declared_min_(minimum), declared_max_(maximum), @@ -39,7 +39,7 @@ Histogram::Histogram(const wchar_t* name, Sample minimum, Histogram::Histogram(const wchar_t* name, TimeDelta minimum, TimeDelta maximum, size_t bucket_count) - : StatsRate(name), + : StatsRate(WideToASCII(name).c_str()), histogram_name_(WideToASCII(name)), declared_min_(static_cast<int> (minimum.InMilliseconds())), declared_max_(static_cast<int> (maximum.InMilliseconds())), |