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

Unified Diff: content/common/socket_stream_dispatcher.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 | « content/common/np_channel_base.cc ('k') | content/renderer/devtools_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/socket_stream_dispatcher.cc
diff --git a/content/common/socket_stream_dispatcher.cc b/content/common/socket_stream_dispatcher.cc
index a45a3f512910ae1e07b81a787c7f668aad1fe6e3..d2a332fe67f2f2282fbda58c579e3c950cd52ee0 100644
--- a/content/common/socket_stream_dispatcher.cc
+++ b/content/common/socket_stream_dispatcher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -57,17 +57,13 @@ class IPCWebSocketStreamHandleBridge
WebKit::WebSocketStreamHandle* handle_;
webkit_glue::WebSocketStreamHandleDelegate* delegate_;
- static base::LazyInstance<
- IDMap<IPCWebSocketStreamHandleBridge>,
- base::LeakyLazyInstanceTraits<IDMap<IPCWebSocketStreamHandleBridge> > >
- all_bridges;
+ static base::LazyInstance<IDMap<IPCWebSocketStreamHandleBridge> >::Leaky
+ all_bridges;
};
// static
-base::LazyInstance<
- IDMap<IPCWebSocketStreamHandleBridge>,
- base::LeakyLazyInstanceTraits<IDMap<IPCWebSocketStreamHandleBridge> > >
- IPCWebSocketStreamHandleBridge::all_bridges = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<IDMap<IPCWebSocketStreamHandleBridge> >::Leaky
+ IPCWebSocketStreamHandleBridge::all_bridges = LAZY_INSTANCE_INITIALIZER;
/* static */
IPCWebSocketStreamHandleBridge* IPCWebSocketStreamHandleBridge::FromSocketId(
« no previous file with comments | « content/common/np_channel_base.cc ('k') | content/renderer/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698