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 6740237a44de93698c0821b2984bafa6136c0fbd..1a0e016449b852240988d1c8e8d1d48fd754442b 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
@@ -313,7 +313,7 @@ WebInspector.TimelineUIUtils.interactionPhaseLabel = function(phase) |
*/ |
WebInspector.TimelineUIUtils.isUserFrame = function(frame) |
{ |
- return frame.scriptId !== "0" && frame.url && !frame.url.startsWith("native "); |
+ return frame.scriptId !== "0" && (!frame.url || !frame.url.startsWith("native ")); |
alph
2016/06/17 12:08:07
nit: !(frame.url && frame.url.startsWith("native "
|
} |
/** |