Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1626)

Unified Diff: Source/wtf/text/AtomicString.h

Issue 139243002: StringImpl should not be referred from StringImplCF. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed AtomicStringCF.cpp Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);
};

Powered by Google App Engine
This is Rietveld 408576698