Changeset 152323 in webkit


Ignore:
Timestamp:
Jul 2, 2013 2:58:50 PM (11 years ago)
Author:
achristensen@apple.com
Message:

Fixed compile error in non-X11 platforms using EGL.
https://bugs.webkit.org/show_bug.cgi?id=118323

Reviewed by Brent Fulgham.

  • platform/graphics/egl/GLContextEGL.cpp:

(WebCore::GLContextEGL::createPixmapContext): Put all X11-specific code into #if PLATFORM(X11).

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r152320 r152323  
     12013-07-02  Alex Christensen  <achristensen@apple.com>
     2
     3        Fixed compile error in non-X11 platforms using EGL.
     4        https://bugs.webkit.org/show_bug.cgi?id=118323
     5
     6        Reviewed by Brent Fulgham.
     7
     8        * platform/graphics/egl/GLContextEGL.cpp:
     9        (WebCore::GLContextEGL::createPixmapContext): Put all X11-specific code into #if PLATFORM(X11).
     10
    1112013-07-02  Radu Stavila  <stavila@adobe.com>
    212
  • trunk/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp

    r148264 r152323  
    174174
    175175    EGLSurface surface = eglCreatePixmapSurface(display, config, pixmap, 0);
    176 #else
    177     EGLSurface surface = EGL_NO_SURFACE;
    178 #endif
     176
    179177    if (surface == EGL_NO_SURFACE)
    180178        return nullptr;
    181179
    182180    return adoptPtr(new GLContextEGL(context, surface, PixmapSurface));
     181#else
     182    return nullptr;
     183#endif
    183184}
    184185
Note: See TracChangeset for help on using the changeset viewer.