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

Unified Diff: tools/callstats.html

Issue 2391843003: [tools] Initialize global pages var in callstats.html (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/callstats.html
diff --git a/tools/callstats.html b/tools/callstats.html
index 2140706c3a7933bcf535dbcd7074048fcb00b360..cb2e0bea3e31adf49f15941f826cf30657c83c02 100644
--- a/tools/callstats.html
+++ b/tools/callstats.html
@@ -1043,11 +1043,11 @@ code is governed by a BSD-style license that can be found in the LICENSE file.
}
function handleLoadText(text) {
- pages = new Pages();
handleLoadJSON(JSON.parse(text));
}
function handleLoadJSON(json) {
+ pages = new Pages();
versions = Versions.fromJSON(json);
initialize()
showPage(versions.versions[0].pages[0]);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698