Changeset 118559 in webkit


Ignore:
Timestamp:
May 25, 2012 2:07:28 PM (12 years ago)
Author:
Beth Dakin
Message:

https://bugs.webkit.org/show_bug.cgi?id=87529
Background tabs hosted in window server flash before painting
when they first become active

Reviewed by Anders Carlsson.

Initialize to LayerHostingModeInWindowServer if that is
available to avoid having to re-make the context and re-set
everything later on.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r118522 r118559  
     12012-05-25  Beth Dakin  <bdakin@apple.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=87529
     4        Background tabs hosted in window server flash before painting
     5        when they first become active
     6
     7        Reviewed by Anders Carlsson.
     8
     9        Initialize to LayerHostingModeInWindowServer if that is
     10        available to avoid having to re-make the context and re-set
     11        everything later on.
     12        * UIProcess/WebPageProxy.cpp:
     13        (WebKit::WebPageProxy::WebPageProxy):
     14
    1152012-05-25  Mario Sanchez Prada  <msanchez@igalia.com>
    216
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r118439 r118559  
    165165    , m_intrinsicDeviceScaleFactor(1)
    166166    , m_customDeviceScaleFactor(0)
     167#if HAVE(LAYER_HOSTING_IN_WINDOW_SERVER)
     168    , m_layerHostingMode(LayerHostingModeInWindowServer)
     169#else
    167170    , m_layerHostingMode(LayerHostingModeDefault)
     171#endif
    168172    , m_drawsBackground(true)
    169173    , m_drawsTransparentBackground(false)
Note: See TracChangeset for help on using the changeset viewer.