Bug 60591 - Switch RenderBoxModelObject::paintBorder to use IntRect instead of four ints
Summary: Switch RenderBoxModelObject::paintBorder to use IntRect instead of four ints
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Levi Weintraub
URL:
Keywords:
Depends on:
Blocks: 60318
  Show dependency treegraph
 
Reported: 2011-05-10 15:38 PDT by Levi Weintraub
Modified: 2011-05-11 14:33 PDT (History)
8 users (show)

See Also:


Attachments
Patch (19.32 KB, patch)
2011-05-10 16:34 PDT, Levi Weintraub
no flags Details | Formatted Diff | Diff
Patch (19.31 KB, patch)
2011-05-11 11:24 PDT, Levi Weintraub
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Levi Weintraub 2011-05-10 15:38:01 PDT
paintBorder literally constructs and uses an IntRect at the beginning. Let's just take one in :)
Comment 1 Levi Weintraub 2011-05-10 16:34:01 PDT
Created attachment 93046 [details]
Patch
Comment 2 Eric Seidel (no email) 2011-05-10 17:12:52 PDT
Comment on attachment 93046 [details]
Patch

This was a good example of tx, ty being just the wrong names for these variables!  You may want to run a few pixel tests just to make sure.  This looks fine though.  the cr-linux EWS runs pixel tests and should catch any failures if you wait for it.
Comment 3 WebKit Review Bot 2011-05-10 17:48:32 PDT
Comment on attachment 93046 [details]
Patch

Attachment 93046 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/8687128
Comment 4 Levi Weintraub 2011-05-11 11:21:09 PDT
(In reply to comment #3)
> (From update of attachment 93046 [details])
> Attachment 93046 [details] did not pass chromium-ews (chromium-xvfb):
> Output: http://queues.webkit.org/results/8687128

Missed one "w"! Re-uploading...
Comment 5 Levi Weintraub 2011-05-11 11:24:11 PDT
Created attachment 93149 [details]
Patch
Comment 6 Levi Weintraub 2011-05-11 12:06:09 PDT
Cool, fixed the build breakage (how do I love EWS, let me count the ways...)!

Eric, can I get that R+ back? ;)
Comment 7 Eric Seidel (no email) 2011-05-11 13:23:09 PDT
Comment on attachment 93149 [details]
Patch

OK.
Comment 8 Eric Seidel (no email) 2011-05-11 13:23:38 PDT
You should still run a pixel test or two locally to make sure you won't find out you broke things only when the cr-gardener sees them on the bots. :)
Comment 9 Levi Weintraub 2011-05-11 14:33:06 PDT
Comment on attachment 93149 [details]
Patch

Clearing flags on attachment: 93149

Committed r86272: <http://trac.webkit.org/changeset/86272>
Comment 10 Levi Weintraub 2011-05-11 14:33:11 PDT
All reviewed patches have been landed.  Closing bug.