Index: webkit/glue/devtools/js/inspector_controller_impl.js |
=================================================================== |
--- webkit/glue/devtools/js/inspector_controller_impl.js (revision 12953) |
+++ webkit/glue/devtools/js/inspector_controller_impl.js (working copy) |
@@ -61,7 +61,8 @@ |
devtools.InspectorControllerImpl.prototype.addResourceSourceToFrame = |
function(identifier, element) { |
var self = this; |
- tools.getNetAgent().getResourceContentAsync(identifier, function(source) { |
+ var netAgent = devtools.tools.getNetAgent(); |
+ netAgent.getResourceContentAsync(identifier, function(source) { |
var resource = netAgent.getResource(identifier); |
self.addSourceToFrame(resource.mimeType, source, element); |
}); |