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

Issue 108313015: Make calls to AtomicString(const String&) explicit in html/ (Closed)

Created:
6 years, 11 months ago by Inactive
Modified:
6 years, 11 months ago
Reviewers:
haraken, eseidel
CC:
blink-reviews, nessy, philipj_slow, gasubic, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make calls to AtomicString(const String&) explicit in html/ Make calls to AtomicString(const String&) explicit in html/ 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 html/ part so that it is more easily reviewable. R=eseidel BUG=323739 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164418

Patch Set 1 #

Total comments: 11

Patch Set 2 : Take feedback into consideration #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -86 lines) Patch
M Source/bindings/v8/V8Binding.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/frame/Navigator.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Navigator.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAllCollection.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAllCollection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAnchorElement.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAnchorElement.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLAudioElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFrameElementBase.cpp View 1 chunk +1 line, -1 line 2 comments Download
M Source/core/html/HTMLImageElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLMapElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLMediaElement.h View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 3 chunks +4 lines, -4 lines 1 comment Download
M Source/core/html/HTMLOutputElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOutputElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLVideoElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLViewSourceDocument.h View 1 chunk +1 line, -1 line 1 comment Download
M Source/core/html/HTMLViewSourceDocument.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/html/forms/FileInputType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/FormController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/parser/AtomicHTMLToken.h View 2 chunks +4 lines, -4 lines 1 comment Download
M Source/core/html/parser/HTMLMetaCharsetParser.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLResourcePreloader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLSrcsetParser.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/html/shadow/DateTimeFieldElement.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/html/track/TextTrackCue.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/track/TextTrackCue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrackCueList.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrackCueList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/vtt/VTTCue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/vtt/VTTParser.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/vtt/VTTParser.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTests.cpp View 1 1 chunk +1 line, -1 line 1 comment Download
M Source/core/testing/Internals.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M Source/platform/Language.h View 1 1 chunk +5 lines, -5 lines 0 comments Download
M Source/platform/Language.cpp View 1 2 chunks +17 lines, -17 lines 0 comments Download
M Source/platform/text/TextBreakIteratorInternalICU.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Inactive
6 years, 11 months ago (2013-12-31 21:14:22 UTC) #1
eseidel
lgtm https://codereview.chromium.org/108313015/diff/1/Source/core/html/HTMLAnchorElement.cpp File Source/core/html/HTMLAnchorElement.cpp (left): https://codereview.chromium.org/108313015/diff/1/Source/core/html/HTMLAnchorElement.cpp#oldcode347 Source/core/html/HTMLAnchorElement.cpp:347: void HTMLAnchorElement::setInput(const String& value) Probably makes sense as ...
6 years, 11 months ago (2013-12-31 23:22:35 UTC) #2
Inactive
https://codereview.chromium.org/108313015/diff/1/Source/core/html/HTMLAnchorElement.cpp File Source/core/html/HTMLAnchorElement.cpp (left): https://codereview.chromium.org/108313015/diff/1/Source/core/html/HTMLAnchorElement.cpp#oldcode347 Source/core/html/HTMLAnchorElement.cpp:347: void HTMLAnchorElement::setInput(const String& value) On 2013/12/31 23:22:35, eseidel wrote: ...
6 years, 11 months ago (2014-01-01 19:26:28 UTC) #3
Inactive
+haraken for bindings/ I needed to add support for returning a Vector<AtomicString> to the bindings.
6 years, 11 months ago (2014-01-01 19:28:06 UTC) #4
haraken
LGTM for bindings/
6 years, 11 months ago (2014-01-02 03:33:49 UTC) #5
Inactive
On 2014/01/02 03:33:49, haraken wrote: > LGTM for bindings/ Thanks. Eric, does the latest patchset ...
6 years, 11 months ago (2014-01-02 13:11:11 UTC) #6
eseidel
lgtm https://codereview.chromium.org/108313015/diff/340001/Source/core/html/HTMLFrameElementBase.cpp File Source/core/html/HTMLFrameElementBase.cpp (right): https://codereview.chromium.org/108313015/diff/340001/Source/core/html/HTMLFrameElementBase.cpp#newcode79 Source/core/html/HTMLFrameElementBase.cpp:79: m_URL = AtomicString(blankURL().string()); I guess you're adding KURL::toAtomicString() ...
6 years, 11 months ago (2014-01-02 19:18:27 UTC) #7
Inactive
https://codereview.chromium.org/108313015/diff/340001/Source/core/html/HTMLFrameElementBase.cpp File Source/core/html/HTMLFrameElementBase.cpp (right): https://codereview.chromium.org/108313015/diff/340001/Source/core/html/HTMLFrameElementBase.cpp#newcode79 Source/core/html/HTMLFrameElementBase.cpp:79: m_URL = AtomicString(blankURL().string()); On 2014/01/02 19:18:28, eseidel wrote: > ...
6 years, 11 months ago (2014-01-02 19:34:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/108313015/340001
6 years, 11 months ago (2014-01-02 19:34:30 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-02 19:41:17 UTC) #10
Message was sent while issue was closed.
Change committed as 164418

Powered by Google App Engine
This is Rietveld 408576698