| Index: webkit/glue/devtools/js/inspector_controller_impl.js
|
| ===================================================================
|
| --- webkit/glue/devtools/js/inspector_controller_impl.js (revision 12355)
|
| +++ webkit/glue/devtools/js/inspector_controller_impl.js (working copy)
|
| @@ -15,7 +15,7 @@
|
|
|
| this.window_ = {
|
| get document() {
|
| - return domAgent.document;
|
| + return devtools.tools.getDomAgent().getDocument();
|
| },
|
| get Node() {
|
| return devtools.DomNode;
|
| @@ -56,7 +56,7 @@
|
| devtools.InspectorController.prototype.addResourceSourceToFrame =
|
| function(identifier, element) {
|
| var self = this;
|
| - netAgent.getResourceContentAsync(identifier, function(source) {
|
| + tools.getNetAgent().getResourceContentAsync(identifier, function(source) {
|
| var resource = netAgent.getResource(identifier);
|
| self.addSourceToFrame(resource.mimeType, source, element);
|
| });
|
| @@ -89,11 +89,4 @@
|
| };
|
|
|
|
|
| -/**
|
| - * {@inheritDoc}.
|
| - */
|
| -devtools.InspectorController.prototype.loaded = function() {
|
| - DevToolsHost.loaded();
|
| -};
|
| -
|
| var InspectorController = new devtools.InspectorControllerImpl();
|
|
|