Changeset 89921 in webkit


Ignore:
Timestamp:
Jun 28, 2011 4:42:33 AM (13 years ago)
Author:
kbalazs@webkit.org
Message:

2011-06-28 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[X11][WK2] X error with plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63520

  • platform/qt-wk2/Skipped:

2011-06-28 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[X11][WK2] X error with plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63520

  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: Never create a pixmap with (0,0) dimensions. (WebKit::NetscapePlugin::platformGeometryDidChange): (WebKit::NetscapePlugin::platformPaint):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r89919 r89921  
     12011-06-28  Balazs Kelemen  <kbalazs@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [X11][WK2] X error with plugin tests
     6        https://bugs.webkit.org/show_bug.cgi?id=63520
     7
     8        * platform/qt-wk2/Skipped:
     9
    1102011-06-28  Kent Tamura  <tkent@chromium.org>
    211
  • trunk/LayoutTests/platform/qt-wk2/Skipped

    r89914 r89921  
    14971497plugins/npp-set-window-called-during-destruction.html
    14981498plugins/reloadplugins-and-pages.html
    1499 plugins/destroy-stream-twice.html
    1500 plugins/object-embed-plugin-scripting.html
    1501 plugins/npruntime/npruntime.html
    15021499
    15031500# Unexplained failures
  • trunk/Source/WebKit2/ChangeLog

    r89908 r89921  
     12011-06-28  Balazs Kelemen  <kbalazs@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [X11][WK2] X error with plugin tests
     6        https://bugs.webkit.org/show_bug.cgi?id=63520
     7
     8        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
     9        Never create a pixmap with (0,0) dimensions.
     10        (WebKit::NetscapePlugin::platformGeometryDidChange):
     11        (WebKit::NetscapePlugin::platformPaint):
     12
    1132011-06-28  Balazs Kelemen  <kbalazs@webkit.org>
    214
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp

    r89580 r89921  
    210210        XFreePixmap(display, m_drawable);
    211211
     212    if (m_frameRect.isEmpty()) {
     213        m_drawable = 0;
     214        return;
     215    }
     216
    212217    m_drawable = XCreatePixmap(display, rootWindowID(), m_frameRect.width(), m_frameRect.height(), displayDepth());
    213218
     
    232237    }
    233238
    234     if (context->paintingDisabled())
     239    if (context->paintingDisabled() || !m_drawable)
    235240        return;
    236 
    237     ASSERT(m_drawable);
    238241
    239242#if PLATFORM(QT)
Note: See TracChangeset for help on using the changeset viewer.