Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(928)

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js

Issue 2882293002: DevTools: Fix "Entries disappear after selecting 'Group by Domain' option in 'Performance' Bottom-U… (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ed97566f508f6aed55978ed74d2f0469b718f972..484b1d1c44ecfa013cc3af8e77dc76543aa3522a 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
@@ -863,7 +863,7 @@ Timeline.AggregatedTimelineTreeView = class extends Timeline.TimelineTreeView {
*/
_productByEvent(event) {
var url = TimelineModel.TimelineProfileTree.eventURL(event);
- if (!url)
+ if (!url || !this._productByURLCache)
return '';
if (this._productByURLCache.has(url))
return this._productByURLCache.get(url);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698