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

Issue 1686953003: Remove uses of base/lazy_instance (Closed)

Created:
4 years, 10 months ago by jamesr
Modified:
4 years, 9 months ago
Reviewers:
viettrungluu
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Remove uses of base/lazy_instance Now that we rely on threadsafe initialization we can stop using base::LazyInstance to perform threadsafe initialization of function level statics. R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/1308cd12434c9536a28592ff09399a57ef7f4f77

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -33 lines) Patch
M mojo/gles2/control_thunks_impl.h View 2 chunks +0 lines, -2 lines 0 comments Download
M mojo/gles2/control_thunks_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/message_pump/handle_watcher.cc View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/message_pump/message_pump_mojo.cc View 8 chunks +13 lines, -12 lines 1 comment Download
M shell/context.cc View 3 chunks +5 lines, -16 lines 2 comments Download

Messages

Total messages: 6 (2 generated)
jamesr
https://codereview.chromium.org/1686953003/diff/1/mojo/message_pump/message_pump_mojo.cc File mojo/message_pump/message_pump_mojo.cc (right): https://codereview.chromium.org/1686953003/diff/1/mojo/message_pump/message_pump_mojo.cc#newcode118 mojo/message_pump/message_pump_mojo.cc:118: RunState* old_state = nullptr; drive-by s/NULL/nullptr/g since there was ...
4 years, 10 months ago (2016-02-10 21:28:39 UTC) #2
viettrungluu
lgtm otherwise https://codereview.chromium.org/1686953003/diff/1/shell/context.cc File shell/context.cc (right): https://codereview.chromium.org/1686953003/diff/1/shell/context.cc#newcode246 shell/context.cc:246: std::ignore = initialized; On 2016/02/10 21:28:39, jamesr ...
4 years, 10 months ago (2016-02-10 23:55:50 UTC) #3
jamesr
The macro's longer than either of the standard C++ ways of doing this, which is ...
4 years, 10 months ago (2016-02-11 06:33:49 UTC) #4
jamesr
4 years, 9 months ago (2016-02-29 21:51:38 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1308cd12434c9536a28592ff09399a57ef7f4f77 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698