Bug 113682

Summary: Web Inspector: Flame Chart. Extract item to coordinates conversion into a separate function.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Ilya Tikhonovsky
Reported 2013-04-01 00:22:13 PDT
There are two places where we calculate coordinates for an item. One is in method draw, the other is in getPopoverAnchor. It is easy to make a mistake if we need to change the logic or introduce an offset. So we need a single function for that.
Attachments
Patch (9.37 KB, patch)
2013-04-01 00:43 PDT, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2013-04-01 00:43:41 PDT
Ilya Tikhonovsky
Comment 2 2013-04-01 01:11:44 PDT
Note You need to log in before you can comment on or make changes to this bug.