Bug 82471 - Web Inspector: nuke HeapGraph.setSize(), do it automagically on update
: Web Inspector: nuke HeapGraph.setSize(), do it automagically on update
Status: RESOLVED FIXED
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated)
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Andrey Kosyakov
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-28 08:23 PDT by Andrey Kosyakov
Modified: 2012-03-28 08:36 PDT (History)
10 users (show)

See Also:


Attachments
Patch (2.33 KB, patch)
2012-03-28 08:24 PDT, Andrey Kosyakov
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2012-03-28 08:23:20 PDT
We used to call HeapGraph.setSize() before HeapGraph.update() anyway, so just move it inside update() and use outer element dimensions to calculate the size.
Comment 1 Andrey Kosyakov 2012-03-28 08:24:53 PDT
Created attachment 134301 [details]
Patch
Comment 2 Andrey Kosyakov 2012-03-28 08:36:33 PDT
Committed r112403: <http://trac.webkit.org/changeset/112403>