Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
index 876e4e32a0dc27028c98458cb52c4eb3a2d2b765..a5b9e614a0d2ad0e910085d90bc7ffb88332294b 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
@@ -702,11 +702,8 @@ WebInspector.TimelineUIUtils._buildTraceEventDetailsSynchronously = function(eve |
if (event.warning) |
contentHelper.appendWarningRow(event); |
- if (event.name === recordTypes.JSFrame) { |
- var deoptReason = eventData["deoptReason"]; |
- if (deoptReason && deoptReason !== "no reason") |
- contentHelper.appendWarningRow(event, WebInspector.TimelineModel.WarningType.V8Deopt); |
- } |
+ if (event.name === recordTypes.JSFrame && eventData["deoptReason"]) |
+ contentHelper.appendWarningRow(event, WebInspector.TimelineModel.WarningType.V8Deopt); |
if (detailed) { |
contentHelper.appendTextRow(WebInspector.UIString("Self Time"), Number.millisToString(event.selfTime, true)); |