diff options
Diffstat (limited to 'WebCore/rendering/RenderScrollbarTheme.cpp')
-rw-r--r-- | WebCore/rendering/RenderScrollbarTheme.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderScrollbarTheme.cpp b/WebCore/rendering/RenderScrollbarTheme.cpp index 2b375d0..d7cfb2b 100644 --- a/WebCore/rendering/RenderScrollbarTheme.cpp +++ b/WebCore/rendering/RenderScrollbarTheme.cpp @@ -26,12 +26,13 @@ #include "config.h" #include "RenderScrollbarTheme.h" #include "RenderScrollbar.h" +#include <wtf/StdLibExtras.h> namespace WebCore { RenderScrollbarTheme* RenderScrollbarTheme::renderScrollbarTheme() { - static RenderScrollbarTheme theme; + DEFINE_STATIC_LOCAL(RenderScrollbarTheme, theme, ()); return &theme; } |