Bug 82471 - Web Inspector: nuke HeapGraph.setSize(), do it automagically on update
Summary: Web Inspector: nuke HeapGraph.setSize(), do it automagically on update
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords:
Depends on:
Blocks:
 
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>