Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
index ff148463f3a0a280eaf413e736f9eea5b61ff53a..eb1bb6175af5c8dd7950c0c90cbcbe7725f10a26 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
@@ -330,16 +330,25 @@ WebInspector.ConsoleView.prototype = { |
this._updateMessageList(); |
}, |
+ /** |
+ * @override |
+ */ |
willHide: function() |
{ |
this._hidePromptSuggestBox(); |
}, |
+ /** |
+ * @override |
+ */ |
wasShown: function() |
{ |
this._viewport.refresh(); |
}, |
+ /** |
+ * @override |
+ */ |
focus: function() |
{ |
if (this._prompt.hasFocus()) |
@@ -350,14 +359,20 @@ WebInspector.ConsoleView.prototype = { |
this._prompt.focus(); |
}, |
+ /** |
+ * @override |
+ */ |
restoreScrollPositions: function() |
{ |
if (this._viewport.stickToBottom()) |
this._immediatelyScrollToBottom(); |
else |
- WebInspector.Widget.prototype.restoreScrollPositions.call(this); |
+ WebInspector.VBox.prototype.restoreScrollPositions.call(this); |
}, |
+ /** |
+ * @override |
+ */ |
onResize: function() |
{ |
this._scheduleViewportRefresh(); |