WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 114148
[BlackBerry] WebPage: fix build due to type mismatches
https://bugs.webkit.org/show_bug.cgi?id=114148
Summary
[BlackBerry] WebPage: fix build due to type mismatches
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2013-04-08 00:45:31 PDT
Created
attachment 196835
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug