[BlackBerry] Fix linking errors
authorrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 May 2012 21:17:36 +0000 (21:17 +0000)
committerrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 May 2012 21:17:36 +0000 (21:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=86768

Reviewed by Antonio Gomes.

Add some missing stubs so we can link again.

* platform/blackberry/ContextMenuBlackBerry.cpp:
(WebCore::ContextMenu::itemCount):
(WebCore):
* platform/blackberry/PlatformScreenBlackBerry.cpp:
(WebCore::screenHorizontalDPI):
(WebCore):
(WebCore::screenVerticalDPI):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp
Source/WebCore/platform/blackberry/PlatformScreenBlackBerry.cpp

index b15654c..c81ea67 100644 (file)
@@ -1,3 +1,20 @@
+2012-05-17  Rob Buis  <rwlbuis@webkit.org>
+
+        [BlackBerry] Fix linking errors
+        https://bugs.webkit.org/show_bug.cgi?id=86768
+
+        Reviewed by Antonio Gomes.
+
+        Add some missing stubs so we can link again.
+
+        * platform/blackberry/ContextMenuBlackBerry.cpp:
+        (WebCore::ContextMenu::itemCount):
+        (WebCore):
+        * platform/blackberry/PlatformScreenBlackBerry.cpp:
+        (WebCore::screenHorizontalDPI):
+        (WebCore):
+        (WebCore::screenVerticalDPI):
+
 2012-05-17  Emil A Eklund  <eae@chromium.org>
 
         Fix rounding in paintSelection
index acb2a5e..1878138 100644 (file)
@@ -43,4 +43,10 @@ void ContextMenu::setPlatformDescription(void*)
     notImplemented();
 }
 
+unsigned ContextMenu::itemCount() const
+{
+    notImplemented();
+    return 0;
+}
+
 } // namespace WebCore
index 5ccc2aa..8996eb6 100644 (file)
 #include "PlatformScreen.h"
 
 #include "FloatRect.h"
+#include "NotImplemented.h"
 #include "Widget.h"
 
 #include <BlackBerryPlatformScreen.h>
 
 namespace WebCore {
 
+int screenHorizontalDPI(Widget*)
+{
+    notImplemented();
+    return 0;
+}
+
+int screenVerticalDPI(Widget*)
+{
+    notImplemented();
+    return 0;
+}
+
 bool screenIsMonochrome(Widget*)
 {
     return false;