Changeset 167016 in webkit


Ignore:
Timestamp:
Apr 9, 2014 9:53:26 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] Plugin process crashes when loading totem plugin
https://bugs.webkit.org/show_bug.cgi?id=131357

Reviewed by Martin Robinson.

Remove netscape plugin implementation from WebCore that was only
used by WebKit1. This removes the conflict between the WebCore NPN
symbols and the ones used by the plugins.

  • CMakeLists.txt:
  • PlatformEfl.cmake:
  • PlatformGTK.cmake:
  • PlatformWin.cmake:
  • plugins/PluginViewNone.cpp:
  • plugins/gtk/PluginPackageGtk.cpp: Removed.
  • plugins/gtk/PluginViewGtk.cpp: Removed.
  • plugins/gtk/gtk2xtbin.c: Removed.
  • plugins/gtk/gtk2xtbin.h: Removed.
  • plugins/gtk/xembed.h: Removed.
Location:
trunk/Source/WebCore
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r166965 r167016  
    20822082    plugins/PluginMainThreadScheduler.cpp
    20832083    plugins/PluginStream.cpp
    2084     plugins/PluginView.cpp
    20852084
    20862085    rendering/AutoTableLayout.cpp
     
    26092608endif ()
    26102609
    2611 if (ENABLE_NETSCAPE_PLUGIN_API)
    2612     list(APPEND WebCore_SOURCES
    2613         plugins/PluginPackage.cpp
    2614         plugins/npapi.cpp
    2615     )
    2616 else ()
     2610if (NOT ENABLE_NETSCAPE_PLUGIN_API)
    26172611    list(APPEND WebCore_SOURCES
    26182612        plugins/PluginPackageNone.cpp
  • trunk/Source/WebCore/ChangeLog

    r167014 r167016  
     12014-04-09  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Plugin process crashes when loading totem plugin
     4        https://bugs.webkit.org/show_bug.cgi?id=131357
     5
     6        Reviewed by Martin Robinson.
     7
     8        Remove netscape plugin implementation from WebCore that was only
     9        used by WebKit1. This removes the conflict between the WebCore NPN
     10        symbols and the ones used by the plugins.
     11
     12        * CMakeLists.txt:
     13        * PlatformEfl.cmake:
     14        * PlatformGTK.cmake:
     15        * PlatformWin.cmake:
     16        * plugins/PluginViewNone.cpp:
     17        * plugins/gtk/PluginPackageGtk.cpp: Removed.
     18        * plugins/gtk/PluginViewGtk.cpp: Removed.
     19        * plugins/gtk/gtk2xtbin.c: Removed.
     20        * plugins/gtk/gtk2xtbin.h: Removed.
     21        * plugins/gtk/xembed.h: Removed.
     22
    1232014-04-09  Jeremy Jones  <jeremyj@apple.com>
    224
  • trunk/Source/WebCore/PlatformEfl.cmake

    r166872 r167016  
    194194if (ENABLE_NETSCAPE_PLUGIN_API)
    195195    list(APPEND WebCore_SOURCES
     196        plugins/PluginPackage.cpp
     197        plugins/PluginView.cpp
     198        plugins/npapi.cpp
     199
    196200        plugins/efl/PluginPackageEfl.cpp
    197201        plugins/efl/PluginViewEfl.cpp
  • trunk/Source/WebCore/PlatformGTK.cmake

    r166919 r167016  
    2222    "${WEBCORE_DIR}/platform/text/gtk"
    2323    "${WEBCORE_DIR}/platform/text/icu"
    24     "${WEBCORE_DIR}/plugins/gtk"
    2524)
    2625
     
    141140
    142141    platform/network/gtk/CredentialBackingStore.cpp
     142
     143    plugins/PluginPackageNone.cpp
     144    plugins/PluginViewNone.cpp
    143145)
    144146
     
    250252         OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.h
    251253         COMMAND gdbus-codegen --interface-prefix org.freedesktop.GeoClue2. --c-namespace Geoclue --generate-c-code ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface ${GEOCLUE_DBUS_INTERFACE}
    252     )
    253 endif ()
    254 
    255 if (ENABLE_NETSCAPE_PLUGIN_API)
    256     list(APPEND WebCore_SOURCES
    257         plugins/PluginDatabase.cpp
    258         plugins/PluginDebug.cpp
    259         plugins/PluginPackage.cpp
    260         plugins/PluginStream.cpp
    261         plugins/PluginView.cpp
    262     )
    263 
    264     list(APPEND WebCorePlatformGTK_SOURCES
    265         plugins/gtk/PluginPackageGtk.cpp
    266         plugins/gtk/PluginViewGtk.cpp
    267         plugins/gtk/gtk2xtbin.c
    268 
    269         plugins/x11/PluginViewX11.cpp
    270     )
    271 else ()
    272     list(APPEND WebCore_SOURCES
    273         plugins/PluginPackageNone.cpp
    274         plugins/PluginViewNone.cpp
    275254    )
    276255endif ()
  • trunk/Source/WebCore/PlatformWin.cmake

    r159001 r167016  
    7474    list(APPEND WebCore_SOURCES
    7575        plugins/PluginView.cpp
     76        plugins/npapi.cpp
    7677
    7778        plugins/win/PluginMessageThrottlerWin.cpp
  • trunk/Source/WebCore/plugins/PluginViewNone.cpp

    r163725 r167016  
    133133// added, please make sure they have the proper platform #ifs so that changes
    134134// do not break ports who compile both this file and PluginView.cpp.   
    135 #if PLATFORM(COCOA) || PLATFORM(EFL) || OS(WINCE)
     135#if PLATFORM(COCOA) || PLATFORM(EFL) || PLATFORM(GTK) || OS(WINCE)
    136136#if ENABLE(NETSCAPE_PLUGIN_API)
    137137void PluginView::keepAlive(NPP)
Note: See TracChangeset for help on using the changeset viewer.