| Index: chrome/browser/resources/ntp4/apps_page.js
|
| diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js
|
| index 9611b7455699085af09620a5fcbf2117f4c4b2df..022b6501f4c7d10ca5826fe0258dac411285a5ce 100644
|
| --- a/chrome/browser/resources/ntp4/apps_page.js
|
| +++ b/chrome/browser/resources/ntp4/apps_page.js
|
| @@ -5,8 +5,6 @@
|
| cr.define('ntp', function() {
|
| 'use strict';
|
|
|
| - var localStrings = new LocalStrings;
|
| -
|
| var APP_LAUNCH = {
|
| // The histogram buckets (keep in sync with extension_constants.h).
|
| NTP_APPS_MAXIMIZED: 0,
|
| @@ -97,7 +95,7 @@ cr.define('ntp', function() {
|
| this.menu.appendChild(button);
|
| cr.ui.decorate(button, cr.ui.MenuItem);
|
| if (textId)
|
| - button.textContent = localStrings.getString(textId);
|
| + button.textContent = loadTimeData.getString(textId);
|
| return button;
|
| },
|
|
|
| @@ -650,7 +648,7 @@ cr.define('ntp', function() {
|
| initialize: function() {
|
| this.classList.add('apps-page');
|
|
|
| - if (templateData.appInstallHintEnabled) {
|
| + if (loadTimeData.getBoolean('appInstallHintEnabled')) {
|
| this.appInstallHint_ = $('app-install-hint-template').cloneNode(true);
|
| this.appInstallHint_.addEventListener('click', function(e) {
|
| chrome.send('recordAppLaunchByURL',
|
|
|