Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3368)

Unified Diff: chrome/browser/resources/md_history/side_bar.js

Issue 2255033002: [MD History] Copy stats from the old history page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sidebar_stats
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/side_bar.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
index 829b554beec5271ad6d67c31e9be7175c2c8602c..fc225b86f6b1efffd208785dbc152c741d9171f5 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -27,9 +27,9 @@ Polymer({
* @private
*/
onClearBrowsingDataTap_: function(e) {
- md_history.BrowserService.getInstance().recordAction(
- 'HistoryPage_InitClearBrowsingData');
- md_history.BrowserService.getInstance().openClearBrowsingData();
+ var browserService = md_history.BrowserService.getInstance();
+ browserService.getInstance().recordAction('InitClearBrowsingData');
+ browserService.openClearBrowsingData();
e.preventDefault();
},

Powered by Google App Engine
This is Rietveld 408576698