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

Issue 99333006: Use AtomicString type more consistently for mimeType / encoding (Closed)

Created:
7 years ago by Inactive
Modified:
7 years ago
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Use AtomicString type more consistently for mimeType / encoding Use AtomicString type more consistently for mimeType / encoding to avoid unnecessary conversions from String to AtomicString, as those have a cost. AtomicString type was already used for mimeType / encoding in ResourceResponse and this CL updates ArchiveResource to be consistent, as well as the related code. This is one step towards making the AtomicString(const String&) constructor explicit. R=abarth, eseidel BUG=323739 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163186

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -48 lines) Patch
M Source/core/loader/DocumentLoader.h View 5 chunks +7 lines, -7 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 7 chunks +8 lines, -8 lines 0 comments Download
M Source/core/loader/DocumentWriter.h View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/loader/DocumentWriter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/SubstituteData.h View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/loader/TextResourceDecoderBuilder.h View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/loader/TextResourceDecoderBuilder.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/mhtml/ArchiveResource.h View 1 chunk +6 lines, -6 lines 0 comments Download
M Source/platform/mhtml/ArchiveResource.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/mhtml/MHTMLParser.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Inactive
7 years ago (2013-12-04 16:22:20 UTC) #1
eseidel
StringImpl caries an "isAtomic" bit, so once the impl has been made atomic, putting it ...
7 years ago (2013-12-04 17:05:12 UTC) #2
eseidel
So long as we don't pass any of these data structures across threads this seems ...
7 years ago (2013-12-04 17:06:46 UTC) #3
Inactive
On 2013/12/04 17:05:12, eseidel wrote: > StringImpl caries an "isAtomic" bit, so once the impl ...
7 years ago (2013-12-04 17:50:30 UTC) #4
Inactive
On 2013/12/04 17:50:30, Chris Dumez wrote: > On 2013/12/04 17:05:12, eseidel wrote: > > StringImpl ...
7 years ago (2013-12-04 18:11:24 UTC) #5
eseidel
lgtm
7 years ago (2013-12-04 18:19:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/99333006/1
7 years ago (2013-12-04 18:19:31 UTC) #7
commit-bot: I haz the power
7 years ago (2013-12-04 19:17:04 UTC) #8
Message was sent while issue was closed.
Change committed as 163186

Powered by Google App Engine
This is Rietveld 408576698