Bug 114148

Summary: [BlackBerry] WebPage: fix build due to type mismatches
Product: WebKit Reporter: Alberto Garcia <berto>
Component: WebKit BlackBerryAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, commit-queue, mifenton, rwlbuis, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 111729    
Attachments:
Description Flags
Patch none

Alberto Garcia
Reported 2013-04-08 00:41:09 PDT
Add explicit conversions between LayoutUnit and int, and between LayoutRect and IntRect.
Attachments
Patch (2.33 KB, patch)
2013-04-08 00:45 PDT, Alberto Garcia
no flags
Alberto Garcia
Comment 1 2013-04-08 00:45:31 PDT
Rob Buis
Comment 2 2013-04-08 04:34:24 PDT
Comment on attachment 196835 [details] Patch What changed so that we need to do this?
WebKit Commit Bot
Comment 3 2013-04-08 18:32:36 PDT
Comment on attachment 196835 [details] Patch Clearing flags on attachment: 196835 Committed r147973: <http://trac.webkit.org/changeset/147973>
WebKit Commit Bot
Comment 4 2013-04-08 18:32:38 PDT
All reviewed patches have been landed. Closing bug.
Alberto Garcia
Comment 5 2013-04-09 00:41:26 PDT
(In reply to comment #2) > (From update of attachment 196835 [details]) > What changed so that we need to do this? This was upstreamed on year ago (r108718) and I'm not sure if it ever compiled. For example, you can't implicitly convert LayoutUnit in this case because there are several candidates: error: ambiguous overload for 'operator+=' in 'xOffset += renderBlock->WebCore::RenderBlock::<anonymous>.WebCore::RenderBox::x()' note: candidates are: note: operator+=(int&, int) <built-in> note: operator+=(int&, unsigned int) <built-in> note: operator+=(int&, float) <built-in> note: operator+=(int&, double) <built-in>
Note You need to log in before you can comment on or make changes to this bug.