Index: Source/wtf/text/AtomicString.h |
diff --git a/Source/wtf/text/AtomicString.h b/Source/wtf/text/AtomicString.h |
index 3b25e4eaf2dcef93224c19c45a40eb4f306cfe52..e6befd7acb7b9c04ae0552f589870eeea8554c56 100644 |
--- a/Source/wtf/text/AtomicString.h |
+++ b/Source/wtf/text/AtomicString.h |
@@ -23,6 +23,7 @@ |
#include "wtf/HashTableDeletedValueType.h" |
#include "wtf/WTFExport.h" |
+#include "wtf/text/CString.h" |
#include "wtf/text/WTFString.h" |
// Define 'NO_IMPLICIT_ATOMICSTRING' before including this header, |
@@ -164,6 +165,10 @@ public: |
static AtomicString fromUTF8(const char*, size_t); |
static AtomicString fromUTF8(const char*); |
+ CString ascii() const { return m_string.ascii(); } |
+ CString latin1() const { return m_string.latin1(); } |
+ CString utf8(UTF8ConversionMode mode = LenientUTF8Conversion) const { return m_string.utf8(mode); } |
+ |
#ifndef NDEBUG |
void show() const; |
#endif |