From bdf1178ca14e21ff9f93c674d28ed319323b106b Mon Sep 17 00:00:00 2001 From: "hausmann@webkit.org" Date: Thu, 6 Nov 2008 18:38:57 +0000 Subject: [PATCH] 2008-11-06 Kristian Amlie Reviewed by Simon Hausmann. Removed dead (and broken) code from an ancient Symbian port. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38183 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebCore/ChangeLog | 10 ++++++++++ WebCore/config.h | 5 ----- WebCore/platform/text/AtomicString.h | 4 ---- WebCore/platform/text/PlatformString.h | 6 ------ 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index e7a5f64a927..e92200775de 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,13 @@ +2008-11-06 Kristian Amlie + + Reviewed by Simon Hausmann. + + Removed dead (and broken) code from an ancient Symbian port. + + * config.h: + * platform/text/AtomicString.h: + * platform/text/PlatformString.h: + 2008-11-06 Kristian Amlie Reviewed by Simon Hausmann. diff --git a/WebCore/config.h b/WebCore/config.h index 03760cfbcc0..9e3dcdf0832 100644 --- a/WebCore/config.h +++ b/WebCore/config.h @@ -67,11 +67,6 @@ #include #endif -#if !PLATFORM(SYMBIAN) -#define IMPORT_C -#define EXPORT_C -#endif - #ifdef __cplusplus // These undefs match up with defines in WebCorePrefix.h for Mac OS X. diff --git a/WebCore/platform/text/AtomicString.h b/WebCore/platform/text/AtomicString.h index ad034d9216e..408f365781a 100644 --- a/WebCore/platform/text/AtomicString.h +++ b/WebCore/platform/text/AtomicString.h @@ -93,10 +93,6 @@ public: AtomicString(NSString* s) : m_string(add(String(s).impl())) { } operator NSString*() const { return m_string; } #endif -#if PLATFORM(SYMBIAN) - AtomicString(const TDesC& s) : m_string(add(String(s).impl())) { } - operator TPtrC() const { return m_string; } -#endif #if PLATFORM(QT) AtomicString(const QString& s) : m_string(add(String(s).impl())) { } operator QString() const { return m_string; } diff --git a/WebCore/platform/text/PlatformString.h b/WebCore/platform/text/PlatformString.h index 96b49af0612..ae7da1a0910 100644 --- a/WebCore/platform/text/PlatformString.h +++ b/WebCore/platform/text/PlatformString.h @@ -204,12 +204,6 @@ public: operator QString() const; #endif -#if PLATFORM(SYMBIAN) - String(const TDesC&); - operator TPtrC() const { return des(); } - TPtrC des() const { if (!m_impl) return KNullDesC(); return m_impl->des(); } -#endif - #if PLATFORM(WX) String(const wxString&); operator wxString() const; -- GitLab