Chromium Code Reviews| Index: Source/wtf/text/AtomicString.h |
| diff --git a/Source/wtf/text/AtomicString.h b/Source/wtf/text/AtomicString.h |
| index 57e49f0c79a11f7de654383d9ddc45811098f867..6d10e31163c91137f91f0ce6dbb2b298a86028ae 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 |
|
Nico
2014/01/15 19:06:12
The implementation in AtomicString.cpp is still ar
tasak
2014/01/17 08:17:29
I see. I removed AtomicStringCF.cpp (i.e. AtomicSt
|
| // AtomicString::fromUTF8 will return a null string if |
| // the input data contains invalid UTF-8 sequences. |
| static AtomicString fromUTF8(const char*, size_t); |