Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index 873996fd451f7b7ae3cbe9798b332282b70de9d1..d901a72e2545e7fc0d0e0550c739adf088b693f5 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -216,7 +216,7 @@ int GetDefaultScreen(Display* display) { |
} |
Cursor GetXCursor(int cursor_shape) { |
- static XCursorCache cache; |
+ CR_DEFINE_STATIC_LOCAL(XCursorCache, cache, ()); |
Mark Mentovai
2011/11/09 17:44:44
Break out. I won’t mention this again during this
Nico
2011/11/09 18:16:02
(Un)done. I won't say "done" for the other instanc
|
return cache.GetCursor(cursor_shape); |
} |