Index: Source/wtf/text/AtomicString.h |
diff --git a/Source/wtf/text/AtomicString.h b/Source/wtf/text/AtomicString.h |
index 57e49f0c79a11f7de654383d9ddc45811098f867..9d65251dbc85111f72ac8b4130022e286da02efc 100644 |
--- a/Source/wtf/text/AtomicString.h |
+++ b/Source/wtf/text/AtomicString.h |
@@ -148,13 +148,6 @@ public: |
static void remove(StringImpl*); |
-#if USE(CF) |
- AtomicString(CFStringRef s) : m_string(add(s)) { } |
-#endif |
-#ifdef __OBJC__ |
- AtomicString(NSString* s) : m_string(add((CFStringRef)s)) { } |
- operator NSString*() const { return m_string; } |
-#endif |
// AtomicString::fromUTF8 will return a null string if |
// the input data contains invalid UTF-8 sequences. |
static AtomicString fromUTF8(const char*, size_t); |
@@ -187,9 +180,6 @@ private: |
} |
static PassRefPtr<StringImpl> addFromLiteralData(const char* characters, unsigned length); |
static PassRefPtr<StringImpl> addSlowCase(StringImpl*); |
-#if USE(CF) |
- static PassRefPtr<StringImpl> add(CFStringRef); |
-#endif |
static AtomicString fromUTF8Internal(const char*, const char*); |
}; |