Commit 63ed95ef authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2011-07-04 Martin Robinson <mrobinson@igalia.com>

        Reviewed by Andreas Kling.

        [GTK] r90148 did not apply to X11 platforms in WebKit1
        https://bugs.webkit.org/show_bug.cgi?id=63862

        Correct the guard for an X11 specific piece of code. TARGET(X11) not
        defined for the GTK+ port.

        No new tests. This is covered by an existing test.

        * plugins/npapi.cpp: Correct the X11 guard.
        (NPN_InvalidateRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 06efb525
2011-07-04 Martin Robinson <mrobinson@igalia.com>
Reviewed by Andreas Kling.
[GTK] r90148 did not apply to X11 platforms in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=63862
Correct the guard for an X11 specific piece of code. TARGET(X11) not
defined for the GTK+ port.
No new tests. This is covered by an existing test.
* plugins/npapi.cpp: Correct the X11 guard.
(NPN_InvalidateRect):
2011-07-04 Pavel Feldman <pfeldman@google.com>
 
Web Inspector: implement settings panel.
......
......@@ -122,7 +122,7 @@ void NPN_Status(NPP instance, const char* message)
void NPN_InvalidateRect(NPP instance, NPRect* invalidRect)
{
PluginView* view = pluginViewForInstance(instance);
#if defined(TARGET_X11)
#if defined(XP_UNIX)
// NSPluginWrapper, a plugin wrapper binary that allows running 32-bit plugins
// on 64-bit architectures typically used in X11, will sometimes give us a null NPP here.
if (!view)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment