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

Unified Diff: chrome/browser/resources/ntp_search/new_tab.js

Issue 10907065: NTP5: Fix page blacklisting and remove recently closed tabs when they're clicked. Fix the styling … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bugs. Created 8 years, 3 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/ntp_search/new_tab.js
diff --git a/chrome/browser/resources/ntp_search/new_tab.js b/chrome/browser/resources/ntp_search/new_tab.js
index ef5fb929c55fa2c4470a25c8b484e6b3cc029950..6944211a881c7c527bce6e31518b0810b8919c92 100644
--- a/chrome/browser/resources/ntp_search/new_tab.js
+++ b/chrome/browser/resources/ntp_search/new_tab.js
@@ -394,11 +394,11 @@ cr.define('ntp', function() {
}
function setRecentlyClosedTabs(data) {
- newTabView.recentlyClosedPage.data = data;
+ newTabView.recentlyClosedPage.setData(data);
}
function setMostVisitedPages(data, hasBlacklistedUrls) {
- newTabView.mostVisitedPage.data = data;
+ newTabView.mostVisitedPage.setData(data);
cr.dispatchSimpleEvent(document, 'sectionready', true, true);
}

Powered by Google App Engine
This is Rietveld 408576698