| Index: third_party/WebKit/Source/devtools/front_end/common/Console.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/common/Console.js b/third_party/WebKit/Source/devtools/front_end/common/Console.js
|
| index 5ea52d6032deaf8a102da19e6688e8d45cc0c883..db2c7586d6db287fd9dd8fa9b43650df2a728f61 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/common/Console.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/common/Console.js
|
| @@ -43,30 +43,8 @@ WebInspector.Console.Message = function(text, level, timestamp, show)
|
| this.show = show;
|
| }
|
|
|
| -/**
|
| - * @interface
|
| - */
|
| -WebInspector.Console.UIDelegate = function()
|
| -{
|
| -}
|
| -
|
| -WebInspector.Console.UIDelegate.prototype = {
|
| - /**
|
| - * @return {!Promise.<undefined>}
|
| - */
|
| - showConsole: function() { }
|
| -}
|
| -
|
| WebInspector.Console.prototype = {
|
| /**
|
| - * @param {!WebInspector.Console.UIDelegate} uiDelegate
|
| - */
|
| - setUIDelegate: function(uiDelegate)
|
| - {
|
| - this._uiDelegate = uiDelegate;
|
| - },
|
| -
|
| - /**
|
| * @param {string} text
|
| * @param {!WebInspector.Console.MessageLevel} level
|
| * @param {boolean=} show
|
| @@ -120,9 +98,7 @@ WebInspector.Console.prototype = {
|
| */
|
| showPromise: function()
|
| {
|
| - if (this._uiDelegate)
|
| - return this._uiDelegate.showConsole();
|
| - return Promise.reject();
|
| + return WebInspector.Revealer.revealPromise(this);
|
| },
|
|
|
| __proto__: WebInspector.Object.prototype
|
|
|