Changeset 175619 in webkit


Ignore:
Timestamp:
Nov 5, 2014 5:29:21 AM (9 years ago)
Author:
berto@igalia.com
Message:

NetscapePlugin: NPP_GetValue should receive a pointer to NPBool, not bool
https://bugs.webkit.org/show_bug.cgi?id=138418

Reviewed by Carlos Garcia Campos.

Replace bool with NPBool, which is actually an unsigned char.

  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:

(WebKit::NetscapePlugin::platformPostInitialize):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r175618 r175619  
     12014-11-05  Alberto Garcia  <berto@igalia.com>
     2
     3        NetscapePlugin: NPP_GetValue should receive a pointer to NPBool, not bool
     4        https://bugs.webkit.org/show_bug.cgi?id=138418
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Replace bool with NPBool, which is actually an unsigned char.
     9
     10        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
     11        (WebKit::NetscapePlugin::platformPostInitialize):
     12
    1132014-11-05  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp

    r172919 r175619  
    203203{
    204204    uint64_t windowID = 0;
    205     bool needsXEmbed = false;
     205    NPBool needsXEmbed = false;
    206206    if (m_isWindowed) {
    207207        NPP_GetValue(NPPVpluginNeedsXEmbed, &needsXEmbed);
Note: See TracChangeset for help on using the changeset viewer.