Changeset 183747 in webkit


Ignore:
Timestamp:
May 4, 2015 9:22:23 AM (9 years ago)
Author:
peavo@outlook.com
Message:

[WinCairo] Compile error in sharedEGLDisplay() method.
https://bugs.webkit.org/show_bug.cgi?id=144563

Reviewed by Alex Christensen.

The PlatformDisplay type is undefined.

  • platform/graphics/egl/GLContextEGL.cpp:

(WebCore::sharedEGLDisplay):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r183746 r183747  
     12015-05-04  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [WinCairo] Compile error in sharedEGLDisplay() method.
     4        https://bugs.webkit.org/show_bug.cgi?id=144563
     5
     6        Reviewed by Alex Christensen.
     7
     8        The PlatformDisplay type is undefined.
     9
     10        * platform/graphics/egl/GLContextEGL.cpp:
     11        (WebCore::sharedEGLDisplay):
     12
    1132015-05-04  Zan Dobersek  <zdobersek@igalia.com>
    214
  • trunk/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp

    r183731 r183747  
    6767        initialized = true;
    6868
    69         const auto& sharedDisplay = PlatformDisplay::sharedDisplay();
    7069#if PLATFORM(WAYLAND)
    71         if (is<PlatformDisplayWayland>(sharedDisplay))
    72             gSharedEGLDisplay = eglGetDisplay(downcast<PlatformDisplayWayland>(sharedDisplay).native());
     70        if (is<PlatformDisplayWayland>(PlatformDisplay::sharedDisplay()))
     71            gSharedEGLDisplay = eglGetDisplay(downcast<PlatformDisplayWayland>(PlatformDisplay::sharedDisplay()).native());
    7372        else // Note that this branch continutes outside this #if-guarded segment.
    7473#endif
    7574#if PLATFORM(X11)
    76             gSharedEGLDisplay = eglGetDisplay(downcast<PlatformDisplayX11>(sharedDisplay).native());
     75            gSharedEGLDisplay = eglGetDisplay(downcast<PlatformDisplayX11>(PlatformDisplay::sharedDisplay()).native());
    7776#else
    7877            gSharedEGLDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
Note: See TracChangeset for help on using the changeset viewer.