Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2343)

Issue 112843002: Make calls to AtomicString(const String&) explicit in dom/ (Closed)

Created:
7 years ago by Inactive
Modified:
6 years, 11 months ago
Reviewers:
eseidel
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org, chromiumbugtracker_adobe.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make calls to AtomicString(const String&) explicit in dom/ Make calls to AtomicString(const String&) explicit in dom/ and avoid useless conversions from String to AtomicString when possible. This is one step towards making the AtomicString(const String&) constructor explicit. This CL takes care only of the dom/ part so that it is more easily reviewable. R=eseidel BUG=323739 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164398

Patch Set 1 #

Total comments: 12

Patch Set 2 : Added comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -46 lines) Patch
M Source/core/dom/Attr.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/dom/ClassNodeList.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/dom/ClassNodeList.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/DOMSettableTokenList.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/DOMTokenList.h View 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/dom/DOMTokenList.cpp View 1 8 chunks +17 lines, -9 lines 0 comments Download
M Source/core/dom/DatasetDOMStringMap.cpp View 1 3 chunks +6 lines, -4 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/NamedFlowCollection.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/NamedFlowCollection.cpp View 1 4 chunks +8 lines, -5 lines 2 comments Download
M Source/core/dom/Node.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 1 chunk +7 lines, -3 lines 0 comments Download
M Source/core/dom/SpaceSplitString.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/TreeScope.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/EventTarget.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Inactive
7 years ago (2013-12-11 14:13:17 UTC) #1
Inactive
On 2013/12/11 14:13:17, Chris Dumez wrote: ping review?
7 years ago (2013-12-13 14:12:11 UTC) #2
abarth-chromium
I suspect eseidel is your best reviewer here. I haven't been following this work in ...
7 years ago (2013-12-15 05:31:09 UTC) #3
eseidel
It's always OK to take an AtomicString and pass it as a String. The only ...
7 years ago (2013-12-15 16:51:26 UTC) #4
Inactive
https://codereview.chromium.org/112843002/diff/1/Source/core/dom/Attr.cpp File Source/core/dom/Attr.cpp (left): https://codereview.chromium.org/112843002/diff/1/Source/core/dom/Attr.cpp#oldcode144 Source/core/dom/Attr.cpp:144: void Attr::setNodeValue(const String& v) On 2013/12/15 16:51:26, eseidel wrote: ...
7 years ago (2013-12-16 14:26:26 UTC) #5
Inactive
Eric, do you still think it is not valuable to go forward with this? I ...
6 years, 11 months ago (2013-12-30 14:09:13 UTC) #6
eseidel
lgtm Please add comments to the code as to *why* the vairous classes chose atomic ...
6 years, 11 months ago (2013-12-30 17:19:26 UTC) #7
Inactive
https://codereview.chromium.org/112843002/diff/1/Source/core/dom/Attr.cpp File Source/core/dom/Attr.cpp (left): https://codereview.chromium.org/112843002/diff/1/Source/core/dom/Attr.cpp#oldcode144 Source/core/dom/Attr.cpp:144: void Attr::setNodeValue(const String& v) On 2013/12/30 17:19:27, eseidel wrote: ...
6 years, 11 months ago (2013-12-30 19:53:33 UTC) #8
Inactive
I added the comments as requested. I am going to wait a little bit before ...
6 years, 11 months ago (2013-12-30 20:29:09 UTC) #9
eseidel
lgtm https://codereview.chromium.org/112843002/diff/50001/Source/core/dom/NamedFlowCollection.cpp File Source/core/dom/NamedFlowCollection.cpp (right): https://codereview.chromium.org/112843002/diff/50001/Source/core/dom/NamedFlowCollection.cpp#newcode73 Source/core/dom/NamedFlowCollection.cpp:73: // Takes an AtomicString in argument because RenderStyle::flowThread() ...
6 years, 11 months ago (2013-12-30 22:31:10 UTC) #10
Inactive
https://codereview.chromium.org/112843002/diff/50001/Source/core/dom/NamedFlowCollection.cpp File Source/core/dom/NamedFlowCollection.cpp (right): https://codereview.chromium.org/112843002/diff/50001/Source/core/dom/NamedFlowCollection.cpp#newcode73 Source/core/dom/NamedFlowCollection.cpp:73: // Takes an AtomicString in argument because RenderStyle::flowThread() returns ...
6 years, 11 months ago (2013-12-30 22:39:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/112843002/50001
6 years, 11 months ago (2013-12-31 14:20:01 UTC) #12
commit-bot: I haz the power
6 years, 11 months ago (2013-12-31 14:27:30 UTC) #13
Message was sent while issue was closed.
Change committed as 164398

Powered by Google App Engine
This is Rietveld 408576698