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

Unified Diff: chrome/browser/resources/about_memory.js

Issue 11746012: [webui] whittle down a few more uses of old-style templateData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move include Created 7 years, 12 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
« no previous file with comments | « chrome/browser/resources/about_memory.html ('k') | chrome/browser/resources/about_memory_linux.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/about_memory.js
diff --git a/chrome/browser/resources/about_memory.js b/chrome/browser/resources/about_memory.js
index f12ba473cb9c6e9de1c760f1399ddf7937ae5dab..49999dcf5d6a498615485d43e63dbe700f859d40 100644
--- a/chrome/browser/resources/about_memory.js
+++ b/chrome/browser/resources/about_memory.js
@@ -74,7 +74,7 @@ function enableHelpTooltips() {
document.addEventListener('DOMContentLoaded', function () {
// This is the javascript code that processes the template:
- var input = new JsEvalContext(templateData);
+ var input = new JsEvalContext(loadTimeData.getValue('jstemplateData'));
var output = document.getElementById('t');
jstProcess(input, output);
« no previous file with comments | « chrome/browser/resources/about_memory.html ('k') | chrome/browser/resources/about_memory_linux.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698