summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 18:14:49 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 18:14:49 +0000
commit171ad63dec4e4232aea6eb9a56edb131fdc6f1c7 (patch)
treef853563e067c08b26e5d8c375d833778c2f1a5b4 /chrome_frame
parent0fb72bfa9cae382022eb051eb55efd1e46c121b4 (diff)
downloadchromium_src-171ad63dec4e4232aea6eb9a56edb131fdc6f1c7.zip
chromium_src-171ad63dec4e4232aea6eb9a56edb131fdc6f1c7.tar.gz
chromium_src-171ad63dec4e4232aea6eb9a56edb131fdc6f1c7.tar.bz2
Fix DCHECKs in the UMA histogram code in ChromeFrame. These started firing due to recent histogram
parameter validations. Changes based on a discussion with Jim. BUG=none TEST=ChromeFrame should load in IE in debug builds. Review URL: http://codereview.chromium.org/9139036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame_automation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
index 44aac5a..5e845a6 100644
--- a/chrome_frame/chrome_frame_automation.cc
+++ b/chrome_frame/chrome_frame_automation.cc
@@ -803,10 +803,10 @@ void ChromeFrameAutomationClient::CreateExternalTab() {
chrome_launch_params_->route_all_top_level_navigations();
UMA_HISTOGRAM_CUSTOM_COUNTS(
- "ChromeFrame.HostNetworking", !use_chrome_network_, 0, 1, 2);
+ "ChromeFrame.HostNetworking", !use_chrome_network_, 1, 2, 3);
UMA_HISTOGRAM_CUSTOM_COUNTS("ChromeFrame.HandleTopLevelRequests",
- handle_top_level_requests_, 0, 1, 2);
+ handle_top_level_requests_, 1, 2, 3);
IPC::SyncMessage* message =
new AutomationMsg_CreateExternalTab(settings, NULL, NULL, 0, 0);