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

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

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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/sdk/RuntimeModel.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/SourceMap.js
diff --git a/Source/devtools/front_end/sdk/SourceMap.js b/Source/devtools/front_end/sdk/SourceMap.js
index 72ff862ff44c3b17f24ea2553ad8531099d6be0d..42f973ca09fad63b4e11a2d42659f170fcce2284 100644
--- a/Source/devtools/front_end/sdk/SourceMap.js
+++ b/Source/devtools/front_end/sdk/SourceMap.js
@@ -94,7 +94,7 @@ WebInspector.SourceMap = function(target, sourceMappingURL, payload)
*/
WebInspector.SourceMap.load = function(target, sourceMapURL, compiledURL, callback)
{
- var resourceTreeModel = WebInspector.resourceTreeModel;
+ var resourceTreeModel = target.resourceTreeModel;
if (resourceTreeModel.cachedResourcesLoaded())
loadResource();
else
« no previous file with comments | « Source/devtools/front_end/sdk/RuntimeModel.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698