Changeset 160269 in webkit


Ignore:
Timestamp:
Dec 7, 2013 3:50:34 AM (10 years ago)
Author:
Gustavo Noronha Silva
Message:

ubuntu software center hits _XReadEvents() error
https://bugs.webkit.org/show_bug.cgi?id=123480

Reviewed by Martin Robinson.

  • platform/gtk/WidgetBackingStoreGtkX11.cpp:

(WebCore::WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11): clear the surface
before freeing the associated pixmap.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r160265 r160269  
     12013-12-07  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        ubuntu software center hits _XReadEvents() error
     4        https://bugs.webkit.org/show_bug.cgi?id=123480
     5
     6        Reviewed by Martin Robinson.
     7
     8        * platform/gtk/WidgetBackingStoreGtkX11.cpp:
     9        (WebCore::WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11): clear the surface
     10        before freeing the associated pixmap.
     11
    1122013-12-06  Tim Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebCore/platform/gtk/WidgetBackingStoreGtkX11.cpp

    r152094 r160269  
    5252WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11()
    5353{
     54    // The pixmap needs to exist when the surface is destroyed, so begin by clearing it.
     55    m_surface.clear();
    5456    XFreePixmap(m_display, m_pixmap);
    5557    XFreeGC(m_display, m_gc);
Note: See TracChangeset for help on using the changeset viewer.