diff options
Diffstat (limited to 'chrome/browser/chromeos/web_socket_proxy.cc')
-rw-r--r-- | chrome/browser/chromeos/web_socket_proxy.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/web_socket_proxy.cc b/chrome/browser/chromeos/web_socket_proxy.cc index 1ab9548..53ce784 100644 --- a/chrome/browser/chromeos/web_socket_proxy.cc +++ b/chrome/browser/chromeos/web_socket_proxy.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. @@ -436,9 +436,7 @@ class Conn { // Used to schedule a timeout for initial phase of connection. scoped_ptr<struct event> destconnect_timeout_event_; - static base::LazyInstance<EventKeyMap, - base::LeakyLazyInstanceTraits<EventKeyMap> > - evkey_map_; + static base::LazyInstance<EventKeyMap>::Leaky evkey_map_; static EventKey last_evkey_; DISALLOW_COPY_AND_ASSIGN(Conn); @@ -1895,8 +1893,7 @@ void Conn::OnDestchanError(struct bufferevent* bev, Conn::EventKey Conn::last_evkey_ = 0; // static -base::LazyInstance<Conn::EventKeyMap, - base::LeakyLazyInstanceTraits<Conn::EventKeyMap> > +base::LazyInstance<Conn::EventKeyMap>::Leaky Conn::evkey_map_ = LAZY_INSTANCE_INITIALIZER; } // namespace |