Index: Source/wtf/text/WTFString.h |
diff --git a/Source/wtf/text/WTFString.h b/Source/wtf/text/WTFString.h |
index a11c34972f4de80bc85898b1037de9b8645d26cc..8a1f61534da09aed54136b012ba3ca6b5c72b625 100644 |
--- a/Source/wtf/text/WTFString.h |
+++ b/Source/wtf/text/WTFString.h |
@@ -423,16 +423,6 @@ public: |
static String fromUTF8WithLatin1Fallback(const LChar*, size_t); |
static String fromUTF8WithLatin1Fallback(const char* s, size_t length) { return fromUTF8WithLatin1Fallback(reinterpret_cast<const LChar*>(s), length); }; |
- // Determines the writing direction using the Unicode Bidi Algorithm rules P2 and P3. |
- WTF::Unicode::Direction defaultWritingDirection(bool* hasStrongDirectionality = 0) const |
- { |
- if (m_impl) |
- return m_impl->defaultWritingDirection(hasStrongDirectionality); |
- if (hasStrongDirectionality) |
- *hasStrongDirectionality = false; |
- return WTF::Unicode::LeftToRight; |
- } |
- |
bool containsOnlyASCII() const; |
bool containsOnlyLatin1() const; |
bool containsOnlyWhitespace() const { return !m_impl || m_impl->containsOnlyWhitespace(); } |