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

Unified Diff: chrome/browser/resources/quota_internals/event_handler.js

Issue 588363002: WebUI: Update some more uses of the old-style i18ntemplate/LocalStrings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 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/quota_internals/event_handler.js
diff --git a/chrome/browser/resources/quota_internals/event_handler.js b/chrome/browser/resources/quota_internals/event_handler.js
index 6377c694e01f37a5ee6de3c4a8e07bb827042a16..d92926fbb8a3645a2eab84756f58e06ab09f66ae 100644
--- a/chrome/browser/resources/quota_internals/event_handler.js
+++ b/chrome/browser/resources/quota_internals/event_handler.js
@@ -42,7 +42,7 @@ function copyAttributes_(source, destination) {
* @private
*/
function localize_(element) {
- if (i18nTemplate && loadTimeData)
+ if (window.i18nTemplate && window.loadTimeData)
i18nTemplate.process(element, loadTimeData);
}

Powered by Google App Engine
This is Rietveld 408576698