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.
Created attachment 134301 [details] Patch
Committed r112403: <http://trac.webkit.org/changeset/112403>