summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authormal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-28 23:03:42 +0000
committermal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-28 23:03:42 +0000
commit57fc229a0b6b8b2a109cd8d4d1d7c2df67f3aef4 (patch)
tree043aed43b54571a0fc2b7e1963045ddf84cad504 /chrome
parentbd8073b357a9b2a4b37081dfb73eabe5b24e8e63 (diff)
downloadchromium_src-57fc229a0b6b8b2a109cd8d4d1d7c2df67f3aef4.zip
chromium_src-57fc229a0b6b8b2a109cd8d4d1d7c2df67f3aef4.tar.gz
chromium_src-57fc229a0b6b8b2a109cd8d4d1d7c2df67f3aef4.tar.bz2
Fix the misspelling of GetLaunchShortcutKind().
TBR= cpu Review URL: http://codereview.chromium.org/27314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser_init.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 8b5eb37..7b27a64 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -150,7 +150,7 @@ enum LaunchMode {
// Undocumented flag in the startup info structure tells us what shortcut was
// used to launch the browser. See http://www.catch22.net/tuts/undoc01 for
// more information. Confirmed to work on XP, Vista and Win7.
-LaunchMode GetLaunchSortcutKind() {
+LaunchMode GetLaunchShortcutKind() {
STARTUPINFOW si = { sizeof(si) };
GetStartupInfoW(&si);
if (si.dwFlags & 0x800) {
@@ -170,7 +170,7 @@ LaunchMode GetLaunchSortcutKind() {
}
#else
// TODO(cpu): Port to other platforms.
-LaunchMode GetLaunchSortcutKind() {
+LaunchMode GetLaunchShortcutKind() {
return LM_LINUX_MAC_BEOS;
}
#endif
@@ -178,7 +178,7 @@ LaunchMode GetLaunchSortcutKind() {
// Log in a histogram the frequency of launching by the different methods. See
// LaunchMode enum for the actual values of the buckets.
void RecordLaunchModeHistogram(LaunchMode mode) {
- int bucket = (mode == LM_TO_BE_DECIDED) ? GetLaunchSortcutKind() : mode;
+ int bucket = (mode == LM_TO_BE_DECIDED) ? GetLaunchShortcutKind() : mode;
UMA_HISTOGRAM_COUNTS_100("Launch.Modes", bucket);
}