summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/glx/GLContextGLX.cpp')
-rw-r--r--Source/WebCore/platform/graphics/glx/GLContextGLX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
index 9496fc91a..9540b86a0 100644
--- a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
+++ b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
@@ -31,7 +31,7 @@ namespace WebCore {
// because it might lead to crashes in some drivers (fglrx). We use a shared display
// pointer here.
static Display* gSharedDisplay = 0;
-static Display* sharedDisplay()
+Display* GLContextGLX::sharedDisplay()
{
if (!gSharedDisplay)
gSharedDisplay = XOpenDisplay(0);