summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 20:44:16 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 20:44:16 +0000
commit76328988113b8bfc1cda9efdc266213199d413ca (patch)
tree935cb7e9638878eb094cc1973a2c53d29dfccc41 /chrome/browser/dom_ui
parent98abd85558e19788d971df47690bcb4eb4dd8d98 (diff)
downloadchromium_src-76328988113b8bfc1cda9efdc266213199d413ca.zip
chromium_src-76328988113b8bfc1cda9efdc266213199d413ca.tar.gz
chromium_src-76328988113b8bfc1cda9efdc266213199d413ca.tar.bz2
Fix issue where NTP metrics for restored tabs weren't getting recorded correctly.
BUG=4668 Review URL: http://codereview.chromium.org/11356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 02177b1..729c9dc 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -649,10 +649,6 @@ void RecentlyClosedTabsHandler::HandleReopenTab(const Value* content) {
for (TabRestoreService::Tabs::const_iterator it = tabs.begin();
it != tabs.end(); ++it) {
if (it->id == session_to_restore) {
- UserMetrics::RecordComputedAction(
- StringPrintf(L"NTP_TabRestored%d", session_to_restore),
- dom_ui_host_->profile());
-
TabRestoreService* tab_restore_service = tab_restore_service_;
browser->ReplaceRestoredTab(
it->navigations, it->current_navigation_index);