summaryrefslogtreecommitdiffstats
path: root/base/nix
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:34:40 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:34:40 +0000
commitda9ccfb9ad498ff45b8d553968e0de01ac46fb28 (patch)
tree0d6084c8e7b15a627d2bf16cc62bc3a7bd346051 /base/nix
parent6f1485ee6a559b469b93f6fb56b0e70dc8b3edf1 (diff)
downloadchromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.zip
chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.gz
chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.bz2
Cleanup: Remove static storage for variables in an unnamed namespace.
BUG=none TEST=none R=binji Review URL: https://chromiumcodereview.appspot.com/9271061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nix')
-rw-r--r--base/nix/mime_util_xdg.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/nix/mime_util_xdg.cc b/base/nix/mime_util_xdg.cc
index 8d21d52..6cd5945 100644
--- a/base/nix/mime_util_xdg.cc
+++ b/base/nix/mime_util_xdg.cc
@@ -31,13 +31,13 @@
namespace {
+class IconTheme;
+
// None of the XDG stuff is thread-safe, so serialize all access under
// this lock.
-static base::LazyInstance<base::Lock>::Leaky
+base::LazyInstance<base::Lock>::Leaky
g_mime_util_xdg_lock = LAZY_INSTANCE_INITIALIZER;
-class IconTheme;
-
class MimeUtilConstants {
public:
typedef std::map<std::string, IconTheme*> IconThemeMap;