WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
42888
[WINCE] Buildfix for GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=42888
Summary
[WINCE] Buildfix for GraphicsContext
Patrick R. Gansterer
Reported
2010-07-23 04:35:07 PDT
see patch
Attachments
Patch
(5.35 KB, patch)
2010-07-23 04:35 PDT
,
Patrick R. Gansterer
aroben
: review+
Details
Formatted Diff
Diff
Patch
(5.90 KB, patch)
2010-07-23 10:01 PDT
,
Patrick R. Gansterer
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Patrick R. Gansterer
Comment 1
2010-07-23 04:35:59 PDT
Created
attachment 62410
[details]
Patch
Patrick R. Gansterer
Comment 2
2010-07-23 04:40:34 PDT
(From
attachment 62410
[details]
)
> - dstRect.move(shadowSize); > + dstRect.move(shadowSize.width(), shadowSize.height());
shadowSize is a FloatSize and dstRect is a IntRect
Adam Roben (:aroben)
Comment 3
2010-07-23 08:12:42 PDT
Comment on
attachment 62410
[details]
Patch In the future, it would be helpful for you to use svn-create-patch rather than plain "svn diff" to create your patches. The former does a few things to make the patches slightly easier to read (like putting function names above each chunk).
> @@ -1268,7 +1268,7 @@ > > IntRect dstRect = fillRect; > > - dstRect.move(shadowSize); > + dstRect.move(shadowSize.width(), shadowSize.height());
Is truncating to int really the right thing to do here? r=me, but I'll wait for an answer before marking this cq+.
Patrick R. Gansterer
Comment 4
2010-07-23 08:20:21 PDT
(In reply to
comment #3
)
> Is truncating to int really the right thing to do here?
dstRect.inflate(shadowBlur) also casts shadowBlur from float to int.
Adam Roben (:aroben)
Comment 5
2010-07-23 09:53:17 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > Is truncating to int really the right thing to do here? > dstRect.inflate(shadowBlur) also casts shadowBlur from float to int.
OK, but that doesn't answer the question. Maybe we should be rounding from float to int in both cases instead of truncating?
Patrick R. Gansterer
Comment 6
2010-07-23 10:01:29 PDT
Created
attachment 62438
[details]
Patch
Adam Roben (:aroben)
Comment 7
2010-07-23 10:35:24 PDT
Comment on
attachment 62438
[details]
Patch r=me
WebKit Commit Bot
Comment 8
2010-07-23 11:38:34 PDT
Comment on
attachment 62438
[details]
Patch Clearing flags on attachment: 62438 Committed
r63989
: <
http://trac.webkit.org/changeset/63989
>
WebKit Commit Bot
Comment 9
2010-07-23 11:38:40 PDT
All reviewed patches have been landed. Closing bug.
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