From: rwlbuis@webkit.org Date: Thu, 17 May 2012 21:17:36 +0000 (+0000) Subject: [BlackBerry] Fix linking errors X-Git-Tag: 070512121124~4055 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65c11735d173b02fceaeca50feb585c77b248bb8;p=profile%2Fivi%2Fwebkit-efl.git [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): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117494 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index b15654c..c81ea67 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,20 @@ +2012-05-17 Rob Buis + + [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 Fix rounding in paintSelection diff --git a/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp b/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp index acb2a5e..1878138 100644 --- a/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp +++ b/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp @@ -43,4 +43,10 @@ void ContextMenu::setPlatformDescription(void*) notImplemented(); } +unsigned ContextMenu::itemCount() const +{ + notImplemented(); + return 0; +} + } // namespace WebCore diff --git a/Source/WebCore/platform/blackberry/PlatformScreenBlackBerry.cpp b/Source/WebCore/platform/blackberry/PlatformScreenBlackBerry.cpp index 5ccc2aa..8996eb6 100644 --- a/Source/WebCore/platform/blackberry/PlatformScreenBlackBerry.cpp +++ b/Source/WebCore/platform/blackberry/PlatformScreenBlackBerry.cpp @@ -20,12 +20,25 @@ #include "PlatformScreen.h" #include "FloatRect.h" +#include "NotImplemented.h" #include "Widget.h" #include namespace WebCore { +int screenHorizontalDPI(Widget*) +{ + notImplemented(); + return 0; +} + +int screenVerticalDPI(Widget*) +{ + notImplemented(); + return 0; +} + bool screenIsMonochrome(Widget*) { return false;