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

Unified Diff: webkit/glue/worker_task_runner.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
Index: webkit/glue/worker_task_runner.cc
diff --git a/webkit/glue/worker_task_runner.cc b/webkit/glue/worker_task_runner.cc
index 3836e61385afcf1a6742251d49d80cd793ed97eb..cfd729b42be22946a9683fc46a0d06f7243eee4e 100644
--- a/webkit/glue/worker_task_runner.cc
+++ b/webkit/glue/worker_task_runner.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.
@@ -59,9 +59,8 @@ int WorkerTaskRunner::CurrentWorkerId() {
}
WorkerTaskRunner* WorkerTaskRunner::Instance() {
- static base::LazyInstance<WorkerTaskRunner,
- base::LeakyLazyInstanceTraits<WorkerTaskRunner> >
- worker_task_runner = LAZY_INSTANCE_INITIALIZER;
+ static base::LazyInstance<WorkerTaskRunner>::Leaky
+ worker_task_runner = LAZY_INSTANCE_INITIALIZER;
return worker_task_runner.Pointer();
}
« no previous file with comments | « third_party/leveldatabase/env_chromium.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698