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

Unified Diff: Source/devtools/front_end/sdk/Linkifier.js

Issue 299443016: DevTools: Decouple debugger model from UI entities (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge DebuggerScriptMapping into DebuggerWorkspaceBinding Created 6 years, 5 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
Index: Source/devtools/front_end/sdk/Linkifier.js
diff --git a/Source/devtools/front_end/sdk/Linkifier.js b/Source/devtools/front_end/sdk/Linkifier.js
index 59cc1e2e29d59e5d8d1619031679a1083fdaeeaa..ecdebf434ca64d75ad6cec3b3787c059c351aeee 100644
--- a/Source/devtools/front_end/sdk/Linkifier.js
+++ b/Source/devtools/front_end/sdk/Linkifier.js
@@ -158,7 +158,7 @@ WebInspector.Linkifier.prototype = {
return fallbackAnchor;
var anchor = this._createAnchor(classes);
- var liveLocation = rawLocation.createLiveLocation(this._updateAnchor.bind(this, anchor));
+ var liveLocation = WebInspector.debuggerWorkspaceBinding.createLiveLocation(rawLocation, this._updateAnchor.bind(this, anchor));
this._liveLocationsByTarget.get(rawLocation.target()).push({anchor: anchor, location: liveLocation});
anchor.__fallbackAnchor = fallbackAnchor;
return anchor;

Powered by Google App Engine
This is Rietveld 408576698