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

Unified Diff: trunk/Source/devtools/front_end/network/NetworkPanel.js

Issue 420603009: Revert 178910 "Revert 178850 "DevTools: Introduce createRawLocat..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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: trunk/Source/devtools/front_end/network/NetworkPanel.js
===================================================================
--- trunk/Source/devtools/front_end/network/NetworkPanel.js (revision 178930)
+++ trunk/Source/devtools/front_end/network/NetworkPanel.js (working copy)
@@ -1016,10 +1016,11 @@
var framesTable = document.createElement("table");
for (var i = 0; i < stackTrace.length; ++i) {
var stackFrame = stackTrace[i];
+ var rawLocation = request.target().debuggerModel.createRawLocationByConsoleCallFrame(stackFrame);
var row = document.createElement("tr");
row.createChild("td").textContent = stackFrame.functionName || WebInspector.UIString("(anonymous function)");
row.createChild("td").textContent = " @ ";
- row.createChild("td").appendChild(this._linkifier.linkifyLocation(request.target(), stackFrame.url, stackFrame.lineNumber - 1, stackFrame.columnNumber - 1));
+ row.createChild("td").appendChild(this._linkifier.linkifyRawLocation(rawLocation));
framesTable.appendChild(row);
}
return framesTable;
« no previous file with comments | « trunk/Source/devtools/front_end/console/ConsoleViewMessage.js ('k') | trunk/Source/devtools/front_end/sdk/DebuggerModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698