Title: [159999] trunk/Source/WebCore
Revision
159999
Author
[email protected]
Date
2013-12-03 04:42:29 -0800 (Tue, 03 Dec 2013)

Log 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 <[email protected]> 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (159998 => 159999)


--- trunk/Source/WebCore/ChangeLog	2013-12-03 12:40:31 UTC (rev 159998)
+++ trunk/Source/WebCore/ChangeLog	2013-12-03 12:42:29 UTC (rev 159999)
@@ -1,3 +1,28 @@
+2013-12-03  Tamas Gergely  <[email protected]>
+
+        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  <[email protected]>
 
         Avoid setting style twice for generated image content.

Modified: trunk/Source/WebCore/plugins/PluginPackageNone.cpp (159998 => 159999)


--- trunk/Source/WebCore/plugins/PluginPackageNone.cpp	2013-12-03 12:40:31 UTC (rev 159998)
+++ trunk/Source/WebCore/plugins/PluginPackageNone.cpp	2013-12-03 12:42:29 UTC (rev 159999)
@@ -49,4 +49,28 @@
 }
 #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()
+{
+}
+
+}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to