Skip to content
Permalink
Browse files
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.

Canonical link: https://commits.webkit.org/143484@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
kov committed Dec 7, 2013
1 parent ab0b843 commit 46f8518af7c7e9fbb16e02bacaa647a040ee597b
Showing 2 changed files with 13 additions and 0 deletions.
@@ -1,3 +1,14 @@
2013-12-07 Gustavo Noronha Silva <gns@gnome.org>

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.

2013-12-06 Tim Horton <timothy_horton@apple.com>

[mac] Keep around more decoded image data, since it's purgeable
@@ -51,6 +51,8 @@ WidgetBackingStoreGtkX11::WidgetBackingStoreGtkX11(GtkWidget* widget, const IntS

WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11()
{
// The pixmap needs to exist when the surface is destroyed, so begin by clearing it.
m_surface.clear();
XFreePixmap(m_display, m_pixmap);
XFreeGC(m_display, m_gc);
}

0 comments on commit 46f8518

Please sign in to comment.