diff options
author | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 19:08:23 +0000 |
---|---|---|
committer | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 19:08:23 +0000 |
commit | 553dba6dd707ee02e609910462d2b7977f284af2 (patch) | |
tree | c38ea1fbfb3a1d387134541faa9bdfc0720234cf /chrome/renderer | |
parent | 0e7fe5cab991f8751ecaa6cd43ff7e51d9647dde (diff) | |
download | chromium_src-553dba6dd707ee02e609910462d2b7977f284af2.zip chromium_src-553dba6dd707ee02e609910462d2b7977f284af2.tar.gz chromium_src-553dba6dd707ee02e609910462d2b7977f284af2.tar.bz2 |
Use string for Histogram names since these are all ASCII anyway.
Wide-character literals cause problems between platforms.
Review URL: http://codereview.chromium.org/28046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10276 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/user_script_slave.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/renderer/user_script_slave.cc b/chrome/renderer/user_script_slave.cc index bb4f54d..cd3951a 100644 --- a/chrome/renderer/user_script_slave.cc +++ b/chrome/renderer/user_script_slave.cc @@ -112,11 +112,11 @@ bool UserScriptSlave::InjectScripts(WebFrame* frame, } if (location == UserScript::DOCUMENT_START) { - HISTOGRAM_COUNTS_100(L"UserScripts:DocStart:Count", num_matched); - HISTOGRAM_TIMES(L"UserScripts:DocStart:Time", timer.Elapsed()); + HISTOGRAM_COUNTS_100("UserScripts:DocStart:Count", num_matched); + HISTOGRAM_TIMES("UserScripts:DocStart:Time", timer.Elapsed()); } else { - HISTOGRAM_COUNTS_100(L"UserScripts:DocEnd:Count", num_matched); - HISTOGRAM_TIMES(L"UserScripts:DocEnd:Time", timer.Elapsed()); + HISTOGRAM_COUNTS_100("UserScripts:DocEnd:Count", num_matched); + HISTOGRAM_TIMES("UserScripts:DocEnd:Time", timer.Elapsed()); } return true; |