Changeset 159999 in webkit


Ignore:
Timestamp:
Dec 3, 2013 4:42:29 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Correct broken build on efl port with --no-netscape-plugin-api
configuration.
https://bugs.webkit.org/show_bug.cgi?id=123997

Patch by Tamas Gergely <gertom@inf.u-szeged.hu> on 2013-12-03
Reviewed by Zoltan Herczeg.

Build failed on efl port with --no-netscape-plugin-api configuration
as ld did not found some methods. The configuration uses a minimal
empty implementation of the class, which is now extended with empty
method implementations.

  • plugins/PluginPackageNone.cpp:

(WebCore::PluginPackage::createPackage):

Returns NULL pointer.

(WebCore::PluginPackage::hash):

Returns 0.

(WebCore::PluginPackage::equal):

Returns true (equals).

(WebCore::PluginPackage::compare):

Returns 0 (equals).

(WebCore::PluginPackage::~PluginPackage):

Do nothing.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r159989 r159999  
     12013-12-03  Tamas Gergely  <gertom@inf.u-szeged.hu>
     2
     3        Correct broken build on efl port with --no-netscape-plugin-api
     4        configuration.
     5        https://bugs.webkit.org/show_bug.cgi?id=123997
     6
     7        Reviewed by Zoltan Herczeg.
     8
     9        Build failed on efl port with --no-netscape-plugin-api configuration
     10        as ld did not found some methods. The configuration uses a minimal
     11        empty implementation of the class, which is now extended with empty
     12        method implementations.
     13
     14        * plugins/PluginPackageNone.cpp:
     15        (WebCore::PluginPackage::createPackage):
     16          Returns NULL pointer.
     17        (WebCore::PluginPackage::hash):
     18          Returns 0.
     19        (WebCore::PluginPackage::equal):
     20          Returns true (equals).
     21        (WebCore::PluginPackage::compare):
     22          Returns 0 (equals).
     23        (WebCore::PluginPackage::~PluginPackage):
     24          Do nothing.
     25
    1262013-12-02  Andreas Kling  <akling@apple.com>
    227
  • trunk/Source/WebCore/plugins/PluginPackageNone.cpp

    r95901 r159999  
    5050#endif
    5151
     52PassRefPtr<PluginPackage> PluginPackage::createPackage(const String&, const time_t&)
     53{
     54    return 0;
    5255}
     56
     57unsigned PluginPackage::hash() const
     58{
     59    return 0;
     60}
     61
     62bool PluginPackage::equal(const PluginPackage&, const PluginPackage&)
     63{
     64    return true;
     65}
     66
     67int PluginPackage::compare(const PluginPackage&) const
     68{
     69    return 0;
     70}
     71
     72PluginPackage::~PluginPackage()
     73{
     74}
     75
     76}
Note: See TracChangeset for help on using the changeset viewer.