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: tools/binary_size/libsupersize/template/D3SymbolTreeMap.js

Issue 2851473003: supersize: Track symbol aliases and shared symbols (Closed)
Patch Set: fix regression in calculate padding introduced in ps3 Created 3 years, 8 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 | « tools/binary_size/libsupersize/nm.py ('k') | tools/binary_size/libsupersize/testdata/ActualDiff.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/libsupersize/template/D3SymbolTreeMap.js
diff --git a/tools/binary_size/libsupersize/template/D3SymbolTreeMap.js b/tools/binary_size/libsupersize/template/D3SymbolTreeMap.js
index 2c3bab6e07f6a51f6a0d6f5932fc0207b06ae6a2..654a5039a5cc7dd216257c8898f4ca2f832bdd95 100644
--- a/tools/binary_size/libsupersize/template/D3SymbolTreeMap.js
+++ b/tools/binary_size/libsupersize/template/D3SymbolTreeMap.js
@@ -34,6 +34,7 @@ function D3SymbolTreeMap(mapWidth, mapHeight, levelsToShow) {
* Make a number pretty, with comma separators.
*/
D3SymbolTreeMap._pretty = function(num) {
+ num = Math.round(num)
var asString = String(num);
var result = '';
var counter = 0;
« no previous file with comments | « tools/binary_size/libsupersize/nm.py ('k') | tools/binary_size/libsupersize/testdata/ActualDiff.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698