| Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| index 5e75ce972f40f9c22e72ef1bb13f4f1f2ad66da9..4af10793968d2ff7e740f16b34edadadd5ff8ca5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| @@ -544,42 +544,6 @@ WebInspector.Main.prototype = {
|
|
|
| /**
|
| * @override
|
| - * @param {!RuntimeAgent.RemoteObject} payload
|
| - * @param {!Object=} hints
|
| - */
|
| - inspect: function(payload, hints)
|
| - {
|
| - var object = this._mainTarget.runtimeModel.createRemoteObject(payload);
|
| - if (object.isNode()) {
|
| - WebInspector.Revealer.revealPromise(object).then(object.release.bind(object));
|
| - return;
|
| - }
|
| -
|
| - if (object.type === "function") {
|
| - WebInspector.RemoteFunction.objectAsFunction(object).targetFunctionDetails().then(didGetDetails);
|
| - return;
|
| - }
|
| -
|
| - /**
|
| - * @param {?WebInspector.DebuggerModel.FunctionDetails} response
|
| - */
|
| - function didGetDetails(response)
|
| - {
|
| - object.release();
|
| -
|
| - if (!response || !response.location)
|
| - return;
|
| -
|
| - WebInspector.Revealer.reveal(WebInspector.debuggerWorkspaceBinding.rawLocationToUILocation(response.location));
|
| - }
|
| -
|
| - if (hints.copyToClipboard)
|
| - InspectorFrontendHost.copyText(object.value);
|
| - object.release();
|
| - },
|
| -
|
| - /**
|
| - * @override
|
| * @param {string} reason
|
| */
|
| detached: function(reason)
|
|
|