Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
index 5faf54ff404253caa79c87ce42b7de586700346e..d7860161527f86bc9e4b2a9da9608267e4ad6cff 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
@@ -345,7 +345,7 @@ WebInspector.TimelineTreeView.GridNode.prototype = { |
} else if (event) { |
var data = event.args["data"]; |
var deoptReason = data && data["deoptReason"]; |
- if (deoptReason && deoptReason !== "no reason") |
+ if (deoptReason) |
container.createChild("div", "activity-warning").title = WebInspector.UIString("Not optimized: %s", deoptReason); |
name.textContent = event.name === WebInspector.TimelineModel.RecordType.JSFrame |
? WebInspector.beautifyFunctionName(event.args["data"]["functionName"]) |