[turbolizer] Display labels when they're at most 40 chars, not 30.

BUG=
R=danno

Review-Url: https://codereview.chromium.org/2232933002
Cr-Commit-Position: refs/heads/master@{#38562}
This commit is contained in:
bgeron 2016-08-10 13:23:45 -07:00 committed by Commit bot
parent a9fe26ef2e
commit 1cefcd4db1

View File

@ -63,7 +63,7 @@ var Node = {
},
getDisplayLabel: function() {
var result = this.id + ":" + this.label;
if (result.length > 30) {
if (result.length > 40) {
return this.id + ":" + this.opcode;
} else {
return result;