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

Unified Diff: android_webview/browser/deferred_gpu_command_service.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again Created 3 years, 9 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: android_webview/browser/deferred_gpu_command_service.cc
diff --git a/android_webview/browser/deferred_gpu_command_service.cc b/android_webview/browser/deferred_gpu_command_service.cc
index 648c3c31cbde4650dd3efca04eae8f050a98a82e..9cfd2ded784371a3c4d2904a4c41d8d41b0ef2e0 100644
--- a/android_webview/browser/deferred_gpu_command_service.cc
+++ b/android_webview/browser/deferred_gpu_command_service.cc
@@ -24,12 +24,13 @@
namespace android_webview {
namespace {
-base::LazyInstance<scoped_refptr<DeferredGpuCommandService> >
+base::LazyInstance<scoped_refptr<DeferredGpuCommandService>>::DestructorAtExit
g_service = LAZY_INSTANCE_INITIALIZER;
} // namespace
-base::LazyInstance<base::ThreadLocalBoolean> ScopedAllowGL::allow_gl;
+base::LazyInstance<base::ThreadLocalBoolean>::DestructorAtExit
+ ScopedAllowGL::allow_gl;
// static
bool ScopedAllowGL::IsAllowed() {
« no previous file with comments | « android_webview/browser/deferred_gpu_command_service.h ('k') | android_webview/browser/gl_view_renderer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698