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.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3fbf0ccf
2013-12-03 Tamas Gergely <gertom@inf.u-szeged.hu>
Correct broken build on efl port with --no-netscape-plugin-api
configuration.
https://bugs.webkit.org/show_bug.cgi?id=123997
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.
2013-12-02 Andreas Kling <akling@apple.com>
Avoid setting style twice for generated image content.
......@@ -49,4 +49,28 @@ uint16_t PluginPackage::NPVersion() const
}
#endif
PassRefPtr<PluginPackage> PluginPackage::createPackage(const String&, const time_t&)
{
return 0;
}
unsigned PluginPackage::hash() const
{
return 0;
}
bool PluginPackage::equal(const PluginPackage&, const PluginPackage&)
{
return true;
}
int PluginPackage::compare(const PluginPackage&) const
{
return 0;
}
PluginPackage::~PluginPackage()
{
}
}
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