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 121087
toFooElement() should use static_cast, not reinterpret_cast.
https://bugs.webkit.org/show_bug.cgi?id=121087
Summary
toFooElement() should use static_cast, not reinterpret_cast.
Andreas Kling
Reported
2013-09-10 01:39:19 PDT
Have patch.
Attachments
Patch
(36.26 KB, patch)
2013-09-10 01:43 PDT
,
Andreas Kling
koivisto
: review+
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Patch
(37.58 KB, patch)
2013-09-10 02:02 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2013-09-10 01:43:14 PDT
Created
attachment 211184
[details]
Patch Didn't actually try to build this yet. Let's see how it goes..
Antti Koivisto
Comment 2
2013-09-10 01:50:25 PDT
Comment on
attachment 211184
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211184&action=review
> Source/WebCore/ChangeLog:19 > + - void toFooElement(constNode*)
missing space
> Source/WebCore/dom/Node.h:786 > +void to##NodeSubclassName(const NodeSubclassName*); \ > +void to##NodeSubclassName(const NodeSubclassName&); > +
Anders suggested to use WTF_DELETE_FUNCTION. Does that not work?
Early Warning System Bot
Comment 3
2013-09-10 01:52:17 PDT
Comment on
attachment 211184
[details]
Patch
Attachment 211184
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/1764025
Early Warning System Bot
Comment 4
2013-09-10 01:54:58 PDT
Comment on
attachment 211184
[details]
Patch
Attachment 211184
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/1764027
Andreas Kling
Comment 5
2013-09-10 02:02:26 PDT
Created
attachment 211186
[details]
Patch
Antti Koivisto
Comment 6
2013-09-10 02:08:09 PDT
Comment on
attachment 211184
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211184&action=review
> Source/WebCore/html/HTMLAnchorElement.h:158 > +NODE_TYPE_CASTS(HTMLAnchorElement)
Since this only applies to Elements ELEMENT_TYPE_CASTS might be a better name.
Andreas Kling
Comment 7
2013-09-10 02:09:19 PDT
(In reply to
comment #2
)
> (From update of
attachment 211184
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=211184&action=review
> > Source/WebCore/dom/Node.h:786 > > +void to##NodeSubclassName(const NodeSubclassName*); \ > > +void to##NodeSubclassName(const NodeSubclassName&); > > + > > Anders suggested to use WTF_DELETE_FUNCTION. Does that not work?
Apparently not. It just says "no previous definition for toHurrElement()"
Build Bot
Comment 8
2013-09-10 02:20:45 PDT
Comment on
attachment 211184
[details]
Patch
Attachment 211184
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/1734563
WebKit Commit Bot
Comment 9
2013-09-10 02:40:06 PDT
Comment on
attachment 211186
[details]
Patch Clearing flags on attachment: 211186 Committed
r155429
: <
http://trac.webkit.org/changeset/155429
>
Build Bot
Comment 10
2013-09-10 02:40:08 PDT
Comment on
attachment 211184
[details]
Patch
Attachment 211184
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/1735493
EFL EWS Bot
Comment 11
2013-09-10 02:50:46 PDT
Comment on
attachment 211184
[details]
Patch
Attachment 211184
[details]
did not pass efl-wk2-ews (efl-wk2): Output:
http://webkit-queues.appspot.com/results/1763048
Lucas Forschler
Comment 12
2019-02-06 09:02:52 PST
Mass moving XML DOM bugs to the "DOM" Component.
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