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

Issue 164743002: Replace kEmptyString with OnceInit initialized string* (Closed)

Created:
6 years, 10 months ago by scottmg
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Replace kEmptyString with OnceInit initialized string* This removes the global constructor call for std::string kEmptyString. This is roughly an application of b/7549760 from the internal version of protobuf. Upstream patch here https://codereview.appspot.com/63480043/. R=fischman@chromium.org TBR=darin@chromium.org BUG=341941, 94925 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251212

Patch Set 1 #

Patch Set 2 : reitveld #

Total comments: 2

Patch Set 3 : update README.chromium after upstream landed #

Patch Set 4 : . #

Messages

Total messages: 10 (0 generated)
scottmg
6 years, 10 months ago (2014-02-13 21:41:05 UTC) #1
Ami GONE FROM CHROMIUM
LGTM++ https://codereview.chromium.org/164743002/diff/60001/third_party/protobuf/src/google/protobuf/generated_message_util.cc File third_party/protobuf/src/google/protobuf/generated_message_util.cc (right): https://codereview.chromium.org/164743002/diff/60001/third_party/protobuf/src/google/protobuf/generated_message_util.cc#newcode54 third_party/protobuf/src/google/protobuf/generated_message_util.cc:54: empty_string_ = new std::string; nit: s/;/();/
6 years, 10 months ago (2014-02-13 23:45:54 UTC) #2
scottmg
https://codereview.chromium.org/164743002/diff/60001/third_party/protobuf/src/google/protobuf/generated_message_util.cc File third_party/protobuf/src/google/protobuf/generated_message_util.cc (right): https://codereview.chromium.org/164743002/diff/60001/third_party/protobuf/src/google/protobuf/generated_message_util.cc#newcode54 third_party/protobuf/src/google/protobuf/generated_message_util.cc:54: empty_string_ = new std::string; On 2014/02/13 23:45:54, Ami Fischman ...
6 years, 10 months ago (2014-02-13 23:48:04 UTC) #3
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 10 months ago (2014-02-13 23:50:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/164743002/170001
6 years, 10 months ago (2014-02-13 23:51:20 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 00:20:12 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=50235
6 years, 10 months ago (2014-02-14 00:20:13 UTC) #7
scottmg
tbr darin for update to existing third_party/ code. tryjobs in ps#3.
6 years, 10 months ago (2014-02-14 00:26:49 UTC) #8
scottmg
Committed patchset #4 manually as r251212 (presubmit successful).
6 years, 10 months ago (2014-02-14 00:50:44 UTC) #9
darin (slow to review)
6 years, 10 months ago (2014-02-14 05:16:39 UTC) #10
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698