Removed hyphenation function implementations for an usupported build configuration.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Sep 2011 00:55:20 +0000 (00:55 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Sep 2011 00:55:20 +0000 (00:55 +0000)
Reviewed by Sam Weinig.

* platform/text/cf/HyphenationCF.cpp:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/text/cf/HyphenationCF.cpp

index 6d141cd..9d247d3 100644 (file)
@@ -1,3 +1,11 @@
+2011-09-07  Dan Bernstein  <mitz@apple.com>
+
+        Removed hyphenation function implementations for an usupported build configuration.
+
+        Reviewed by Sam Weinig.
+
+        * platform/text/cf/HyphenationCF.cpp:
+
 2011-09-07  David Hyatt  <hyatt@apple.com>
 
         https://bugs.webkit.org/show_bug.cgi?id=67739
index b1142a9..f170b8a 100644 (file)
@@ -35,8 +35,6 @@
 
 namespace WebCore {
 
-#if !PLATFORM(WIN) || (defined(MAC_OS_X_VERSION_10_7) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7)
-
 template<>
 RetainPtr<CFLocaleRef> AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >::createValueForNullKey()
 {
@@ -76,21 +74,6 @@ size_t lastHyphenLocation(const UChar* characters, size_t length, size_t beforeI
     return result == kCFNotFound ? 0 : result;
 }
 
-#else
-
-bool canHyphenate(const AtomicString&)
-{
-    return false;
-}
-
-size_t lastHyphenLocation(const UChar*, size_t, size_t, const AtomicString&)
-{
-    ASSERT_NOT_REACHED();
-    return 0;
-}
-
-#endif // PLATFORM(WIN) && (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7)
-
 } // namespace WebCore
 
 #endif // !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)