| Index: Source/devtools/front_end/sdk/Target.js
|
| diff --git a/Source/devtools/front_end/sdk/Target.js b/Source/devtools/front_end/sdk/Target.js
|
| index 288d2f258647985cfcf11482606e6b99d752cccc..7d0c98327ce8a26d40e4de5800eee0ba975a51db 100644
|
| --- a/Source/devtools/front_end/sdk/Target.js
|
| +++ b/Source/devtools/front_end/sdk/Target.js
|
| @@ -101,9 +101,6 @@ WebInspector.Target.prototype = {
|
| {
|
| /** @type {!WebInspector.ConsoleModel} */
|
| this.consoleModel = new WebInspector.ConsoleModel(this);
|
| - // This and similar lines are needed for compatibility.
|
| - if (!WebInspector.consoleModel)
|
| - WebInspector.consoleModel = this.consoleModel;
|
|
|
| /** @type {!WebInspector.NetworkManager} */
|
| this.networkManager = new WebInspector.NetworkManager(this);
|
| @@ -324,7 +321,7 @@ WebInspector.TargetManager.prototype = {
|
| /**
|
| * @return {?WebInspector.Target}
|
| */
|
| - activeTarget: function()
|
| + mainTarget: function()
|
| {
|
| return this._targets[0];
|
| }
|
|
|