Web Inspector: incorrect height of main timeline pane after switching to memory mode
authorcaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 17:20:10 +0000 (17:20 +0000)
committercaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 17:20:10 +0000 (17:20 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90387

Reviewed by Pavel Feldman.

- update cached container height when setting vertical splitter position.

* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype.set _setSplitterPosition):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/TimelinePanel.js

index ccc86a4..da13d15 100644 (file)
@@ -1,3 +1,15 @@
+2012-07-02  Andrey Kosyakov  <caseq@chromium.org>
+
+        Web Inspector: incorrect height of main timeline pane after switching to memory mode
+        https://bugs.webkit.org/show_bug.cgi?id=90387
+
+        Reviewed by Pavel Feldman.
+
+        - update cached container height when setting vertical splitter position.
+
+        * inspector/front-end/TimelinePanel.js:
+        (WebInspector.TimelinePanel.prototype.set _setSplitterPosition):
+
 2012-07-02  Christophe Dumez  <christophe.dumez@intel.com>
 
         [MICRODATA] Build failure in html/HTMLPropertiesCollection.h
index c80ec43..83f5e53 100644 (file)
@@ -180,6 +180,7 @@ WebInspector.TimelinePanel.prototype = {
         this.splitView.element.style.height = (top - overviewHeight) + "px";
         this._timelineMemorySplitter.style.top = (top - 2) + "px";
         this._memoryStatistics.setTopPosition(top);
+        this._containerElementHeight = this._containerElement.clientHeight;
     },
 
     get calculator()