Index: chrome/browser/resources/ntp4/new_tab.js |
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js |
index 57c2a68277ff0996ddd7563015a54812f01e7edd..f7a468d614c725c456995582d015263fec86ae81 100644 |
--- a/chrome/browser/resources/ntp4/new_tab.js |
+++ b/chrome/browser/resources/ntp4/new_tab.js |
@@ -108,7 +108,7 @@ cr.define('ntp', function() { |
*/ |
function onLoad() { |
sectionsToWaitFor = loadTimeData.getBoolean('showApps') ? 2 : 1; |
- if (loadTimeData.getBoolean('isSuggestionsPageEnabled')) |
+ if (loadTimeData.getBoolean('isDiscoveryInNTPEnabled')) |
sectionsToWaitFor++; |
measureNavDots(); |
@@ -140,7 +140,7 @@ cr.define('ntp', function() { |
false); |
chrome.send('getMostVisited'); |
- if (loadTimeData.getBoolean('isSuggestionsPageEnabled')) { |
+ if (loadTimeData.getBoolean('isDiscoveryInNTPEnabled')) { |
var suggestions_script = document.createElement('script'); |
suggestions_script.src = 'suggestions_page.js'; |
suggestions_script.onload = function() { |