Index: Source/devtools/front_end/RemoteObject.js |
diff --git a/Source/devtools/front_end/RemoteObject.js b/Source/devtools/front_end/RemoteObject.js |
index 5278caf274e6165ae71d9bcad5427908008ac395..71ea9eb53da19864e12cc36c155c31ff2c927b48 100644 |
--- a/Source/devtools/front_end/RemoteObject.js |
+++ b/Source/devtools/front_end/RemoteObject.js |
@@ -233,9 +233,10 @@ WebInspector.RemoteObject.toCallArgument = function(remoteObject) |
WebInspector.RemoteObjectImpl = function(target, objectId, type, subtype, value, description, preview) |
{ |
WebInspector.RemoteObject.call(this); |
+ |
this._target = target; |
this._runtimeAgent = target.runtimeAgent(); |
- this._domAgent = target.domModel; |
+ this._domModel = target.domModel; |
this._type = type; |
this._subtype = subtype; |
@@ -450,19 +451,19 @@ WebInspector.RemoteObjectImpl.prototype = { |
pushNodeToFrontend: function(callback) |
{ |
if (this._objectId) |
- this._domAgent.pushNodeToFrontend(this._objectId, callback); |
+ this._domModel.pushNodeToFrontend(this._objectId, callback); |
else |
callback(0); |
}, |
highlightAsDOMNode: function() |
{ |
- this._domAgent.highlightDOMNode(undefined, undefined, this._objectId); |
+ this._domModel.highlightDOMNode(undefined, undefined, this._objectId); |
}, |
hideDOMNodeHighlight: function() |
{ |
- this._domAgent.hideDOMNodeHighlight(); |
+ this._domModel.hideDOMNodeHighlight(); |
}, |
/** |