Chromium Code Reviews| Index: chrome/browser/resources/popular_sites_internals.js |
| diff --git a/chrome/browser/resources/popular_sites_internals.js b/chrome/browser/resources/popular_sites_internals.js |
| index ce1294d6bb968aa86e177c9c344398622c5bcc54..ec42cab712dd14eb51f051a531156ddb40ccf245 100644 |
| --- a/chrome/browser/resources/popular_sites_internals.js |
| +++ b/chrome/browser/resources/popular_sites_internals.js |
| @@ -32,7 +32,9 @@ cr.define('chrome.popular_sites_internals', function() { |
| } |
| function receiveSites(sites) { |
| - jstProcess(new JsEvalContext(sites), $('sites')); |
| + var context = new JsEvalContext(sites); |
| + jstProcess(context, $('info')); |
|
Bernhard Bauer
2016/04/07 12:24:28
You could just process the parent of these nodes.
Marc Treib
2016/04/07 13:38:39
Done.
|
| + jstProcess(context, $('sites')); |
| // Also clear the json string, since it's likely stale now. |
| $('json-value').textContent = ''; |
| } |