Bug 84472

Summary: Fix use of LayoutUnits in DOMNodeHighlighter
Product: WebKit Reporter: Emil A Eklund <eae>
Component: Tools / TestsAssignee: Emil A Eklund <eae>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, leviw, pfeldman, wangxianzhu, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60318    
Attachments:
Description Flags
Patch none

Description Emil A Eklund 2012-04-20 11:24:36 PDT
Bug 84181 added a bunch of new logic to DOMNodeHighlighter that doesn't use the right unit types.
Comment 1 Emil A Eklund 2012-04-20 11:34:25 PDT
Created attachment 138127 [details]
Patch
Comment 2 Xianzhu Wang 2012-04-20 11:53:18 PDT
Thanks Emil. Sorry I thought the methods accept LayoutUnits without checking. Will they be changed to LayoutUnits in the future?
Comment 3 Emil A Eklund 2012-04-20 11:54:46 PDT
(In reply to comment #2)
> Thanks Emil. Sorry I thought the methods accept LayoutUnits without checking. Will they be changed to LayoutUnits in the future?

No worries. They might be, in the medium term they'll stay int based to line up with device pixels.

Thanks for asking.
Comment 4 WebKit Review Bot 2012-04-20 13:22:24 PDT
Comment on attachment 138127 [details]
Patch

Clearing flags on attachment: 138127

Committed r114775: <http://trac.webkit.org/changeset/114775>
Comment 5 WebKit Review Bot 2012-04-20 13:22:41 PDT
All reviewed patches have been landed.  Closing bug.