summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gtk_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gtk_util.cc')
-rw-r--r--ui/gfx/gtk_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/gtk_util.cc b/ui/gfx/gtk_util.cc
index aa336e8..b1f0dd7 100644
--- a/ui/gfx/gtk_util.cc
+++ b/ui/gfx/gtk_util.cc
@@ -137,7 +137,7 @@ void SubtractRectanglesFromRegion(GdkRegion* region,
}
GdkCursor* GetCursor(int type) {
- static GdkCursorCache impl;
+ CR_DEFINE_STATIC_LOCAL(GdkCursorCache, impl, ());
return impl.GetCursorImpl(static_cast<GdkCursorType>(type));
}