Changeset 209063 in webkit


Ignore:
Timestamp:
Nov 28, 2016 11:27:01 PM (7 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] BadDamage X Window System error in WebKit::AcceleratedBackingStoreX11::update when called from WebPageProxy::exitAcceleratedCompositingMode
https://bugs.webkit.org/show_bug.cgi?id=164303

Reviewed by Michael Catanzaro.

Trap also BadDrawable and BadDamage X errors when creating the surface and damage.

  • UIProcess/gtk/AcceleratedBackingStoreX11.cpp:

(WebKit::AcceleratedBackingStoreX11::update):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r209060 r209063  
     12016-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] BadDamage X Window System error in WebKit::AcceleratedBackingStoreX11::update when called from WebPageProxy::exitAcceleratedCompositingMode
     4        https://bugs.webkit.org/show_bug.cgi?id=164303
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Trap also BadDrawable and BadDamage X errors when creating the surface and damage.
     9
     10        * UIProcess/gtk/AcceleratedBackingStoreX11.cpp:
     11        (WebKit::AcceleratedBackingStoreX11::update):
     12
    1132016-11-28  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/gtk/AcceleratedBackingStoreX11.cpp

    r208985 r209063  
    159159    size.scale(deviceScaleFactor);
    160160
     161    XErrorTrapper trapper(display, XErrorTrapper::Policy::Crash, { BadDrawable, BadDamage });
    161162    ASSERT(downcast<PlatformDisplayX11>(PlatformDisplay::sharedDisplay()).native() == GDK_DISPLAY_XDISPLAY(gdk_display_get_default()));
    162163    GdkVisual* visual = gdk_screen_get_rgba_visual(gdk_screen_get_default());
Note: See TracChangeset for help on using the changeset viewer.