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

Unified Diff: ppapi/shared_impl/ppapi_globals.cc

Issue 9117038: Convert all remaining explicit LeakyLazyInstanceTraits users to ::Leaky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_test_job.cc ('k') | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppapi_globals.cc
diff --git a/ppapi/shared_impl/ppapi_globals.cc b/ppapi/shared_impl/ppapi_globals.cc
index 0fab3dc298390c65135bf8e1e1b7277d99063b7a..c453ae2d4854b86bd3dcd568abbb66d079abd95f 100644
--- a/ppapi/shared_impl/ppapi_globals.cc
+++ b/ppapi/shared_impl/ppapi_globals.cc
@@ -13,10 +13,8 @@ namespace ppapi {
namespace {
// Thread-local globals for testing. See SetPpapiGlobalsOnThreadForTest for more
// information.
-base::LazyInstance<
- base::ThreadLocalPointer<PpapiGlobals>,
- base::LeakyLazyInstanceTraits<base::ThreadLocalPointer<PpapiGlobals> > >
- tls_ppapi_globals_for_test = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<base::ThreadLocalPointer<PpapiGlobals> >::Leaky
+ tls_ppapi_globals_for_test = LAZY_INSTANCE_INITIALIZER;
} // namespace
PpapiGlobals* PpapiGlobals::ppapi_globals_ = NULL;
« no previous file with comments | « net/url_request/url_request_test_job.cc ('k') | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698