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

Unified Diff: Source/devtools/front_end/TimelineUIUtils.js

Issue 206313004: DevTools: Rename WebInspector.DOMAgent into WebInspector.DOMModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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 | « Source/devtools/front_end/Target.js ('k') | Source/devtools/front_end/inspector.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/TimelineUIUtils.js
diff --git a/Source/devtools/front_end/TimelineUIUtils.js b/Source/devtools/front_end/TimelineUIUtils.js
index 76356bdaf359d7ad7c944ca2e858a0b5a011ee61..aefebd09acaf0d39e48753d8771e8d432779ecba 100644
--- a/Source/devtools/front_end/TimelineUIUtils.js
+++ b/Source/devtools/front_end/TimelineUIUtils.js
@@ -450,7 +450,7 @@ WebInspector.TimelineUIUtils.generatePopupContent = function(record, linkifier,
if (!imageElement && WebInspector.TimelineUIUtils.needsPreviewElement(record.type))
WebInspector.DOMPresentationUtils.buildImagePreviewContents(record.url, false, barrier.createCallback(saveImage));
if (record.relatedBackendNodeId())
- WebInspector.domAgent.pushNodesByBackendIdsToFrontend([record.relatedBackendNodeId()], barrier.createCallback(setRelatedNode));
+ WebInspector.domModel.pushNodesByBackendIdsToFrontend([record.relatedBackendNodeId()], barrier.createCallback(setRelatedNode));
barrier.callWhenDone(callbackWrapper);
/**
@@ -468,7 +468,7 @@ WebInspector.TimelineUIUtils.generatePopupContent = function(record, linkifier,
function setRelatedNode(nodeIds)
{
if (nodeIds)
- relatedNode = WebInspector.domAgent.nodeForId(nodeIds[0]);
+ relatedNode = WebInspector.domModel.nodeForId(nodeIds[0]);
}
function callbackWrapper()
« no previous file with comments | « Source/devtools/front_end/Target.js ('k') | Source/devtools/front_end/inspector.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698