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 6d9a7ffdf067496138137fd9695f51c4b3e23d2b..d2705d89aeb9a3f8676d495ae0f3212c883b9215 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
@@ -709,7 +709,7 @@ Timeline.TimelineUIUtils = class { |
Timeline.TimelineUIUtils._collectInvalidationNodeIds(nodeIdsToResolve, invalidationTrackingEvents); |
var relatedNodes = null; |
if (nodeIdsToResolve.size) { |
- var domModel = SDK.DOMModel.fromTarget(target); |
+ var domModel = target.model(SDK.DOMModel); |
if (domModel) { |
relatedNodes = await new Promise(fulfill => |
domModel.pushNodesByBackendIdsToFrontend(nodeIdsToResolve, fulfill)); |