Index: chrome/browser/resources/local_ntp/local_ntp.js |
diff --git a/chrome/browser/resources/local_ntp/local_ntp.js b/chrome/browser/resources/local_ntp/local_ntp.js |
index 7aeea46c405978aca10f1e58cefc07640ad9e62e..5e113717a1ba3f33955668092309b7f2f6baed12 100644 |
--- a/chrome/browser/resources/local_ntp/local_ntp.js |
+++ b/chrome/browser/resources/local_ntp/local_ntp.js |
@@ -340,7 +340,8 @@ function onMostVisitedChange() { |
/** |
- * Fetches new data, creates, and renders tiles. |
+ * Fetches new data (RIDs) from the embeddedSearch.newTabPage API and passes |
+ * them to the iframe. |
*/ |
function reloadTiles() { |
var pages = ntpApiHandle.mostVisited; |
@@ -651,7 +652,7 @@ function init() { |
var iframe = document.createElement('iframe'); |
iframe.id = IDS.TILES_IFRAME; |
iframe.tabIndex = 1; |
- iframe.src = '//most-visited/single.html?' + args.join('&'); |
+ iframe.src = 'chrome-search://most-visited/single.html?' + args.join('&'); |
$(IDS.TILES).appendChild(iframe); |
iframe.onload = function() { |