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

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: 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
« Source/platform/text/LocaleMac.mm ('K') | « Source/platform/text/LocaleMac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« Source/platform/text/LocaleMac.mm ('K') | « Source/platform/text/LocaleMac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698