From 57fc229a0b6b8b2a109cd8d4d1d7c2df67f3aef4 Mon Sep 17 00:00:00 2001 From: "mal@chromium.org" Date: Sat, 28 Feb 2009 23:03:42 +0000 Subject: 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 --- chrome/browser/browser_init.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/browser_init.cc') 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); } -- cgit v1.1