| Index: Source/devtools/front_end/console/ConsoleView.js
|
| diff --git a/Source/devtools/front_end/console/ConsoleView.js b/Source/devtools/front_end/console/ConsoleView.js
|
| index d0c3e0eecc371f53999918b15578e99bcf0dc8bb..f19fc31818d8e5951081df08894f6fcb286d764e 100644
|
| --- a/Source/devtools/front_end/console/ConsoleView.js
|
| +++ b/Source/devtools/front_end/console/ConsoleView.js
|
| @@ -438,8 +438,7 @@ WebInspector.ConsoleView.prototype = {
|
|
|
| willHide: function()
|
| {
|
| - this._prompt.hideSuggestBox();
|
| - this._prompt.clearAutoComplete(true);
|
| + this._hidePromptSuggestBox();
|
| },
|
|
|
| wasShown: function()
|
| @@ -468,11 +467,17 @@ WebInspector.ConsoleView.prototype = {
|
| onResize: function()
|
| {
|
| this._scheduleViewportRefresh();
|
| - this._prompt.hideSuggestBox();
|
| + this._hidePromptSuggestBox();
|
| if (this._viewport.scrolledToBottom())
|
| this._immediatelyScrollToBottom();
|
| },
|
|
|
| + _hidePromptSuggestBox: function()
|
| + {
|
| + this._prompt.hideSuggestBox();
|
| + this._prompt.clearAutoComplete(true);
|
| + },
|
| +
|
| _scheduleViewportRefresh: function()
|
| {
|
| /**
|
| @@ -618,8 +623,7 @@ WebInspector.ConsoleView.prototype = {
|
| this._clearCurrentSearchResultHighlight();
|
| this._consoleMessages = [];
|
| this._updateMessageList();
|
| - this._prompt.hideSuggestBox();
|
| - this._prompt.clearAutoComplete(true);
|
| + this._hidePromptSuggestBox();
|
|
|
| if (this._searchRegex)
|
| this._searchableView.updateSearchMatchesCount(0);
|
|
|