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
137764
Use is<>() / downcast<>() for list-related render objects
https://bugs.webkit.org/show_bug.cgi?id=137764
Summary
Use is<>() / downcast<>() for list-related render objects
Chris Dumez
Reported
2014-10-15 19:15:41 PDT
Use is<>() / downcast<>() for list-related render objects
Attachments
Patch
(37.11 KB, patch)
2014-10-15 19:20 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(37.47 KB, patch)
2014-10-15 21:34 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2014-10-15 19:20:28 PDT
Created
attachment 239917
[details]
Patch
Benjamin Poulain
Comment 2
2014-10-15 21:17:48 PDT
Comment on
attachment 239917
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=239917&action=review
> Source/WebCore/html/HTMLLIElement.cpp:97 > while (!listNode) {
This loop is so weird. I would prefer a while(true)+break or a do-while.
> Source/WebCore/rendering/RenderListItem.cpp:155 > + Node* otherList = enclosingList(downcast<RenderListItem>(renderer));
Node->Element
Chris Dumez
Comment 3
2014-10-15 21:34:19 PDT
Created
attachment 239927
[details]
Patch
WebKit Commit Bot
Comment 4
2014-10-15 23:04:38 PDT
Comment on
attachment 239927
[details]
Patch Clearing flags on attachment: 239927 Committed
r174759
: <
http://trac.webkit.org/changeset/174759
>
WebKit Commit Bot
Comment 5
2014-10-15 23:04:42 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