Title: [94738] trunk/Source/WebCore
- Revision
- 94738
- Author
- m...@apple.com
- Date
- 2011-09-07 17:55:20 -0700 (Wed, 07 Sep 2011)
Log Message
Removed hyphenation function implementations for an usupported build configuration.
Reviewed by Sam Weinig.
* platform/text/cf/HyphenationCF.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (94737 => 94738)
--- trunk/Source/WebCore/ChangeLog 2011-09-08 00:50:24 UTC (rev 94737)
+++ trunk/Source/WebCore/ChangeLog 2011-09-08 00:55:20 UTC (rev 94738)
@@ -1,3 +1,11 @@
+2011-09-07 Dan Bernstein <m...@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 <hy...@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=67739
Modified: trunk/Source/WebCore/platform/text/cf/HyphenationCF.cpp (94737 => 94738)
--- trunk/Source/WebCore/platform/text/cf/HyphenationCF.cpp 2011-09-08 00:50:24 UTC (rev 94737)
+++ trunk/Source/WebCore/platform/text/cf/HyphenationCF.cpp 2011-09-08 00:55:20 UTC (rev 94738)
@@ -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 @@
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)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes