WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
65175
Fix AtomicString vs. String usage in XPath code
https://bugs.webkit.org/show_bug.cgi?id=65175
Summary
Fix AtomicString vs. String usage in XPath code
Patrick R. Gansterer
Reported
2011-07-26 05:47:08 PDT
Fix AtomicString vs. String usage in XPath code
Attachments
Patch
(12.12 KB, patch)
2011-07-26 05:49 PDT
,
Patrick R. Gansterer
eric
: review-
gyuyoung.kim
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Patrick R. Gansterer
Comment 1
2011-07-26 05:49:52 PDT
Created
attachment 101989
[details]
Patch
WebKit Review Bot
Comment 2
2011-07-26 05:51:42 PDT
Attachment 101989
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/xml/XPathStep.h:61: Missing space inside { }. [whitespace/braces] [5] Source/WebCore/xml/XPathStep.h:62: Missing space inside { }. [whitespace/braces] [5] Total errors found: 2 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gyuyoung Kim
Comment 3
2011-07-26 05:54:07 PDT
Comment on
attachment 101989
[details]
Patch
Attachment 101989
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/9249423
Collabora GTK+ EWS bot
Comment 4
2011-07-26 05:56:45 PDT
Comment on
attachment 101989
[details]
Patch
Attachment 101989
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/9249424
Early Warning System Bot
Comment 5
2011-07-26 06:02:04 PDT
Comment on
attachment 101989
[details]
Patch
Attachment 101989
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/9244428
WebKit Review Bot
Comment 6
2011-07-26 06:05:07 PDT
Comment on
attachment 101989
[details]
Patch
Attachment 101989
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/9245430
WebKit Review Bot
Comment 7
2011-07-26 06:40:26 PDT
Comment on
attachment 101989
[details]
Patch
Attachment 101989
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/9249430
Patrick R. Gansterer
Comment 8
2011-07-26 09:34:45 PDT
Comment on
attachment 101989
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=101989&action=review
> Source/WebCore/xml/NativeXPathNSResolver.cpp:53 > + return m_node ? m_node->lookupNamespaceURI(prefix) : nullAtom;
The build break is caused by this line. This change depends on an other patch, which changes the return value of lookupNamespaceURI to AtomicString too. Please ignore the build break on the EWS for now.
WebKit Review Bot
Comment 9
2011-07-26 12:01:42 PDT
Comment on
attachment 101989
[details]
Patch
Attachment 101989
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/9248436
Alexey Proskuryakov
Comment 10
2011-07-26 12:34:00 PDT
Comment on
attachment 101989
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=101989&action=review
I see that the patch adds a number of String->AtomicString conversions, but I don't see which ones are removed. Could you please explain that in ChangeLog, for the benefit of lazy reviewers and everyone else reading patches?
> Source/WebCore/ChangeLog:8 > + Use AtomicString instead of String to avoid unnecessary type conversations.
conversations - > conversions.
Brent Fulgham
Comment 11
2011-11-10 09:59:23 PST
Could you link the bug ID with the patch that is required before this one can build properly?
Eric Seidel (no email)
Comment 12
2012-03-01 14:01:31 PST
Comment on
attachment 101989
[details]
Patch We should do this in smaller pieces, or with more explanation in the ChangeLog.
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