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
130210
Build fix with SUBPIXEL_LAYOUT disabled
https://bugs.webkit.org/show_bug.cgi?id=130210
Summary
Build fix with SUBPIXEL_LAYOUT disabled
Thiago de Barros Lacerda
Reported
2014-03-13 14:28:15 PDT
Fixing increment operation in LayoutUnit value.
Attachments
Patch
(1.24 KB, patch)
2014-03-13 14:30 PDT
,
Thiago de Barros Lacerda
dbates
: review+
thiago.lacerda
: commit-queue-
Details
Formatted Diff
Diff
Changes in ChangeLog
(1.39 KB, patch)
2014-03-14 07:41 PDT
,
Thiago de Barros Lacerda
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Forgot reviewed by
(1.39 KB, patch)
2014-03-14 07:47 PDT
,
Thiago de Barros Lacerda
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Thiago de Barros Lacerda
Comment 1
2014-03-13 14:30:32 PDT
Created
attachment 226623
[details]
Patch
Zoltan Horvath
Comment 2
2014-03-13 21:35:34 PDT
Yeah, we don't have postfix increment operator on LayoutUnit. The fix looks good to me, but I'm not a reviewer.
Daniel Bates
Comment 3
2014-03-13 23:46:53 PDT
Comment on
attachment 226623
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=226623&action=review
> Source/WebCore/ChangeLog:8 > + Fixing increment operation in LayoutUnit value.
Although the change is straightforward, I suggest elaborating on the what is being fixed and why. Maybe something like: Use pre-incremeent operator for LayoutUnit instead of post-increment operator as LayoutUnit doesn't support the latter and we don't make use of the return value.
Daniel Bates
Comment 4
2014-03-13 23:48:03 PDT
(In reply to
comment #3
)
> (From update of
attachment 226623
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=226623&action=review
> > > Source/WebCore/ChangeLog:8 > > + Fixing increment operation in LayoutUnit value. > > Although the change is straightforward, I suggest elaborating on the what is being fixed and why. Maybe something like:
* "the what" => what
> > Use pre-incremeent operator for LayoutUnit instead of post-increment operator as LayoutUnit doesn't support the latter and we don't make use of the return value.
* pre-increment
Thiago de Barros Lacerda
Comment 5
2014-03-14 07:39:10 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > (From update of
attachment 226623
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=226623&action=review
> > > > > Source/WebCore/ChangeLog:8 > > > + Fixing increment operation in LayoutUnit value. > > > > Although the change is straightforward, I suggest elaborating on the what is being fixed and why. Maybe something like: > > * "the what" => what > > > > > Use pre-incremeent operator for LayoutUnit instead of post-increment operator as LayoutUnit doesn't support the latter and we don't make use of the return value. > > * pre-increment
OK, changing it...
Thiago de Barros Lacerda
Comment 6
2014-03-14 07:41:51 PDT
Created
attachment 226712
[details]
Changes in ChangeLog
WebKit Commit Bot
Comment 7
2014-03-14 07:44:04 PDT
Comment on
attachment 226712
[details]
Changes in ChangeLog Rejecting
attachment 226712
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 226712, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output:
http://webkit-queues.appspot.com/results/6619990564274176
Thiago de Barros Lacerda
Comment 8
2014-03-14 07:47:36 PDT
Created
attachment 226713
[details]
Forgot reviewed by
WebKit Commit Bot
Comment 9
2014-03-14 08:24:37 PDT
Comment on
attachment 226713
[details]
Forgot reviewed by Clearing flags on attachment: 226713 Committed
r165617
: <
http://trac.webkit.org/changeset/165617
>
Darin Adler
Comment 10
2014-03-15 14:22:12 PDT
Comment on
attachment 226623
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=226623&action=review
> Source/WebCore/dom/Element.cpp:-650 > - value++;
Was this failing to compile? If not, then we need to fix LayoutUnit so this fails to compile or compiles correctly. We can’t leave this as a trap for future programmers!
Thiago de Barros Lacerda
Comment 11
2014-03-17 07:32:35 PDT
(In reply to
comment #10
)
> (From update of
attachment 226623
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=226623&action=review
> > > Source/WebCore/dom/Element.cpp:-650 > > - value++; > > Was this failing to compile? If not, then we need to fix LayoutUnit so this fails to compile or compiles correctly. We can’t leave this as a trap for future programmers!
Darin, this was not compiling
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