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 cde2413a50b7a2ccaa6cba164cd8868156b997e4..66ef3836c345e0833dcb2868f1ce6e6a9d905b99 100644 |
--- a/Source/devtools/front_end/console/ConsoleViewMessage.js |
+++ b/Source/devtools/front_end/console/ConsoleViewMessage.js |
@@ -84,9 +84,13 @@ WebInspector.ConsoleViewMessage.prototype = { |
} |
}, |
- willHide: function() |
+ cacheHeight: function() |
{ |
this._cachedHeight = this.contentElement().clientHeight; |
+ }, |
+ |
+ willHide: function() |
+ { |
for (var i = 0; this._dataGrids && i < this._dataGrids.length; ++i) { |
var dataGrid = this._dataGrids[i]; |
this._dataGridParents.put(dataGrid, dataGrid.element.parentElement); |