summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authordsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 19:08:23 +0000
committerdsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 19:08:23 +0000
commit553dba6dd707ee02e609910462d2b7977f284af2 (patch)
treec38ea1fbfb3a1d387134541faa9bdfc0720234cf /chrome/views
parent0e7fe5cab991f8751ecaa6cd43ff7e51d9647dde (diff)
downloadchromium_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/views')
-rw-r--r--chrome/views/focus_manager.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/views/focus_manager.cc b/chrome/views/focus_manager.cc
index 923d3d1..f18cc2c 100644
--- a/chrome/views/focus_manager.cc
+++ b/chrome/views/focus_manager.cc
@@ -230,7 +230,7 @@ void FocusManager::InstallFocusSubclass(HWND window, View* view) {
!win_util::IsSubclassed(window, &FocusWindowCallback)) {
NOTREACHED() << "window sub-classed by someone other than the FocusManager";
// Track in UMA so we know if this case happens.
- UMA_HISTOGRAM_COUNTS(L"FocusManager.MultipleSubclass", 1);
+ UMA_HISTOGRAM_COUNTS("FocusManager.MultipleSubclass", 1);
} else {
win_util::Subclass(window, &FocusWindowCallback);
SetProp(window, kFocusSubclassInstalled, reinterpret_cast<HANDLE>(true));
@@ -842,4 +842,3 @@ void FocusManager::RemoveFocusChangeListener(FocusChangeListener* listener) {
}
} // namespace views
-