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

Issue 100463004: Make calls to AtomicString(const String&) explicit in css/ (Closed)

Created:
7 years ago by Inactive
Modified:
7 years ago
CC:
blink-reviews, kenneth.christiansen, eae+blinkwatch, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 3

Patch Set 2 : Make MediaQuery::mediaType() return an AtomicString #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -44 lines) Patch
M Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSParser.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSParser-in.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/FontFace.h View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/css/FontFace.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/MediaQuery.h View 1 2 chunks +3 lines, -3 lines 1 comment Download
M Source/core/css/MediaQuery.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleMedia.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleMedia.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/StyleSheetList.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleSheetList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/CSSToStyleMap.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/FontBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.h View 4 chunks +9 lines, -9 lines 0 comments Download
M Source/core/dom/Document.cpp View 7 chunks +7 lines, -7 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Inactive
7 years ago (2013-12-09 17:17:03 UTC) #1
eseidel
lgtm I'm glad your straightening this all out. I think we should consider renaming AtomicString ...
7 years ago (2013-12-09 18:24:20 UTC) #2
Inactive
https://codereview.chromium.org/100463004/diff/1/Source/core/css/MediaQueryEvaluator.h File Source/core/css/MediaQueryEvaluator.h (right): https://codereview.chromium.org/100463004/diff/1/Source/core/css/MediaQueryEvaluator.h#newcode75 Source/core/css/MediaQueryEvaluator.h:75: bool mediaTypeMatch(const String& mediaTypeToMatch) const; On 2013/12/09 18:24:21, eseidel ...
7 years ago (2013-12-09 18:49:32 UTC) #3
kenneth.r.christiansen
> I switched to String here because MediaQuery::mediaType() currently returns a > String but I ...
7 years ago (2013-12-09 19:08:58 UTC) #4
Inactive
https://codereview.chromium.org/100463004/diff/1/Source/core/css/MediaQueryEvaluator.h File Source/core/css/MediaQueryEvaluator.h (right): https://codereview.chromium.org/100463004/diff/1/Source/core/css/MediaQueryEvaluator.h#newcode75 Source/core/css/MediaQueryEvaluator.h:75: bool mediaTypeMatch(const String& mediaTypeToMatch) const; On 2013/12/09 18:49:32, Chris ...
7 years ago (2013-12-09 19:10:58 UTC) #5
Inactive
Eric, could you please take a final look? Thanks.
7 years ago (2013-12-09 19:44:03 UTC) #6
eseidel
lgtm
7 years ago (2013-12-09 19:57:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/100463004/20001
7 years ago (2013-12-09 20:01:24 UTC) #8
commit-bot: I haz the power
7 years ago (2013-12-09 22:10:05 UTC) #9
Message was sent while issue was closed.
Change committed as 163461

Powered by Google App Engine
This is Rietveld 408576698