Changeset 181150 in webkit


Ignore:
Timestamp:
Mar 6, 2015 2:48:19 AM (9 years ago)
Author:
zandobersek@gmail.com
Message:

Unguarded GTK-specific member and method usage in DrawingAreaImpl
https://bugs.webkit.org/show_bug.cgi?id=142391

Reviewed by Carlos Garcia Campos.

r180924 introduced unguarded use of m_nativeSurfaceHandleForCompositing
and LayerTreeHost::setNativeSurfaceHandleForCompositing() in DrawingAreaImpl.
Definitions for both of these are guarded with USE(TEXTURE_MAPPER_GL) and PLATFORM(GTK),
so their use should be as well.

  • WebProcess/WebPage/DrawingAreaImpl.cpp:

(WebKit::DrawingAreaImpl::enterAcceleratedCompositingMode):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r181147 r181150  
     12015-03-06  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        Unguarded GTK-specific member and method usage in DrawingAreaImpl
     4        https://bugs.webkit.org/show_bug.cgi?id=142391
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        r180924 introduced unguarded use of m_nativeSurfaceHandleForCompositing
     9        and LayerTreeHost::setNativeSurfaceHandleForCompositing() in DrawingAreaImpl.
     10        Definitions for both of these are guarded with USE(TEXTURE_MAPPER_GL) and PLATFORM(GTK),
     11        so their use should be as well.
     12
     13        * WebProcess/WebPage/DrawingAreaImpl.cpp:
     14        (WebKit::DrawingAreaImpl::enterAcceleratedCompositingMode):
     15
    1162015-03-06  David Kilzer  <ddkilzer@apple.com>
    217
  • trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp

    r180924 r181150  
    457457
    458458    m_layerTreeHost = LayerTreeHost::create(&m_webPage);
     459#if USE(TEXTURE_MAPPER_GL) && PLATFORM(GTK)
    459460    if (m_nativeSurfaceHandleForCompositing)
    460461        m_layerTreeHost->setNativeSurfaceHandleForCompositing(m_nativeSurfaceHandleForCompositing);
     462#endif
    461463    if (!m_inUpdateBackingStoreState)
    462464        m_layerTreeHost->setShouldNotifyAfterNextScheduledLayerFlush(true);
Note: See TracChangeset for help on using the changeset viewer.