Index: Source/devtools/front_end/console/ConsoleViewMessage.js |
diff --git a/Source/devtools/front_end/console/ConsoleViewMessage.js b/Source/devtools/front_end/console/ConsoleViewMessage.js |
index 16e6bd265f0cc1aee986273780ef08fa28101990..b79e3eb14c79cfce3f2d65d13f002146e703a940 100644 |
--- a/Source/devtools/front_end/console/ConsoleViewMessage.js |
+++ b/Source/devtools/front_end/console/ConsoleViewMessage.js |
@@ -86,7 +86,7 @@ WebInspector.ConsoleViewMessage.prototype = { |
cacheFastHeight: function() |
{ |
- this._cachedHeight = this.contentElement().clientHeight; |
+ this._cachedHeight = this.contentElement().offsetHeight; |
}, |
willHide: function() |
@@ -906,8 +906,6 @@ WebInspector.ConsoleViewMessage.prototype = { |
this._highlightSearchResultsInElement(regexObject, this._messageElement); |
if (this._anchorElement) |
this._highlightSearchResultsInElement(regexObject, this._anchorElement); |
- |
- this._element.scrollIntoViewIfNeeded(); |
}, |
_highlightSearchResultsInElement: function(regexObject, element) |