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

Unified Diff: ui/base/cursor/cursor_loader_win.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
« no previous file with comments | « ui/base/clipboard/clipboard.cc ('k') | ui/base/l10n/formatter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor_loader_win.cc
diff --git a/ui/base/cursor/cursor_loader_win.cc b/ui/base/cursor/cursor_loader_win.cc
index 7c8d18f72ae54c0b381f3f19fba58434164f8f4a..430cf7ecbaa5b2620b247cae17092a8d5d55b5a2 100644
--- a/ui/base/cursor/cursor_loader_win.cc
+++ b/ui/base/cursor/cursor_loader_win.cc
@@ -13,7 +13,8 @@ namespace ui {
namespace {
-base::LazyInstance<base::string16> g_cursor_resource_module_name;
+base::LazyInstance<base::string16>::DestructorAtExit
+ g_cursor_resource_module_name;
const wchar_t* GetCursorId(gfx::NativeCursor native_cursor) {
switch (native_cursor.native_type()) {
« no previous file with comments | « ui/base/clipboard/clipboard.cc ('k') | ui/base/l10n/formatter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698