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

Issue 2597273002: Allow StringView to have the sole reference to a static string (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
Reviewers:
esprehn
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow StringView to have the sole reference to a static string Static strings are thread safe and can safely have their ref counts floor at 1, so StringView should not crash if it happens to do that. BUG=674388 Committed: https://crrev.com/8b89825da13786897274a69663ea06e1c41da9e7 Cr-Commit-Position: refs/heads/master@{#440546}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M third_party/WebKit/Source/wtf/text/StringView.cpp View 1 chunk +3 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (5 generated)
Charlie Harrison
esprehn: Here's the StringView change as it's own patch.
4 years ago (2016-12-22 20:19:35 UTC) #2
esprehn
I think we actually do allow it to hit zero, call destroyIfNotStatic() and then do ...
4 years ago (2016-12-22 21:21:22 UTC) #3
Charlie Harrison
On 2016/12/22 21:21:22, esprehn wrote: > I think we actually do allow it to hit ...
4 years ago (2016-12-22 21:23:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2597273002/1
4 years ago (2016-12-22 21:24:33 UTC) #6
esprehn
On 2016/12/22 at 21:23:56, csharrison wrote: > On 2016/12/22 21:21:22, esprehn wrote: > > I ...
4 years ago (2016-12-22 21:44:08 UTC) #7
Charlie Harrison
On 2016/12/22 21:44:08, esprehn wrote: > On 2016/12/22 at 21:23:56, csharrison wrote: > > On ...
4 years ago (2016-12-22 22:29:26 UTC) #8
Charlie Harrison
On 2016/12/22 22:29:26, Charlie Harrison OOO Dec 15-21 wrote: > On 2016/12/22 21:44:08, esprehn wrote: ...
4 years ago (2016-12-22 22:32:17 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-22 23:47:54 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-22 23:50:11 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8b89825da13786897274a69663ea06e1c41da9e7
Cr-Commit-Position: refs/heads/master@{#440546}

Powered by Google App Engine
This is Rietveld 408576698