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

Issue 566373002: Use ConstructFromLiteral instead of implicit conversion (Closed)

Created:
6 years, 3 months ago by rwlbuis
Modified:
6 years, 3 months ago
Reviewers:
pdr.
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, fs, kouhei+svg_chromium.org, dstockwell, Timothy Loh, krit, f(malita), gyuyoung.kim_webkit.org, darktears, Stephen Chennney, Steve Block, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use ConstructFromLiteral instead of implicit conversion Since we are supposed to end up with an AtomicString, don't rely on implicit conversion, but provide it as static local variable while using ConstructFromLiteral to avoid using strlen. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182133

Patch Set 1 #

Patch Set 2 : Add SVGImage change #

Patch Set 3 : Two more fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M Source/core/html/shadow/MediaControls.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGAnimatedAngle.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFontFaceUriElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/animation/SVGSMILElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/exported/linux/WebFontInfo.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
rwlbuis
PTAL.
6 years, 3 months ago (2014-09-15 17:38:46 UTC) #2
pdr.
We have roughly 300 DEFINE_STATIC_LOCAL's for strings, 2/3 use ConstructFromLiteral and 1/3 don't. Doing these ...
6 years, 3 months ago (2014-09-16 01:55:58 UTC) #3
rwlbuis
On 2014/09/16 01:55:58, pdr wrote: > We have roughly 300 DEFINE_STATIC_LOCAL's for strings, 2/3 use ...
6 years, 3 months ago (2014-09-16 15:54:11 UTC) #4
pdr.
On 2014/09/16 15:54:11, rwlbuis wrote: > On 2014/09/16 01:55:58, pdr wrote: > > We have ...
6 years, 3 months ago (2014-09-16 18:27:41 UTC) #5
rwlbuis
On 2014/09/16 18:27:41, pdr wrote: > On 2014/09/16 15:54:11, rwlbuis wrote: > > On 2014/09/16 ...
6 years, 3 months ago (2014-09-16 18:39:24 UTC) #6
rwlbuis
On 2014/09/16 18:39:24, rwlbuis wrote: > On 2014/09/16 18:27:41, pdr wrote: > > On 2014/09/16 ...
6 years, 3 months ago (2014-09-16 20:59:20 UTC) #7
pdr.
On 2014/09/16 20:59:20, rwlbuis wrote: > On 2014/09/16 18:39:24, rwlbuis wrote: > > On 2014/09/16 ...
6 years, 3 months ago (2014-09-17 00:25:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/566373002/40001
6 years, 3 months ago (2014-09-17 00:27:04 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 02:12:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 182133

Powered by Google App Engine
This is Rietveld 408576698