WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149286
De-template ContainerNodeAlgorithms
https://bugs.webkit.org/show_bug.cgi?id=149286
Summary
De-template ContainerNodeAlgorithms
Antti Koivisto
Reported
2015-09-17 14:18:13 PDT
This is pointlessly generic.
Attachments
patch
(29.63 KB, patch)
2015-09-17 14:32 PDT
,
Antti Koivisto
kling
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2015-09-17 14:32:10 PDT
Created
attachment 261425
[details]
patch
Andreas Kling
Comment 2
2015-09-17 16:29:33 PDT
Comment on
attachment 261425
[details]
patch Nice. Next make it iterative? :)
Antti Koivisto
Comment 3
2015-09-17 16:54:33 PDT
http://trac.webkit.org/changeset/189945
Darin Adler
Comment 4
2015-09-19 15:15:36 PDT
Comment on
attachment 261425
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=261425&action=review
> Source/WebCore/html/track/WebVTTParser.cpp:544 > + auto child = Text::create(document, m_token.characters()); > + m_currentNode->parserAppendChild(WTF::move(child));
If we did it on one line without the local variable then we wouldn’t need to call WTF::move.
> Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:1031 > + auto newNode = CDATASection::create(m_currentNode->document(), toString(s, len)); > + m_currentNode->parserAppendChild(WTF::move(newNode));
If we did it on one line without the local variable then we wouldn’t need to call WTF::move.
> Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:1047 > + auto newNode = Comment::create(m_currentNode->document(), toString(s)); > + m_currentNode->parserAppendChild(WTF::move(newNode));
If we did it on one line without the local variable then we wouldn’t need to call WTF::move.
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