Index: third_party/WebKit/Source/wtf/text/StringImpl.h |
diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h |
index 9e3178df841b44784ba308624164292db47a0901..d676b0c973a4d6436cd5f1e3eaf0f0c983b4eec4 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringImpl.h |
+++ b/third_party/WebKit/Source/wtf/text/StringImpl.h |
@@ -224,6 +224,7 @@ public: |
ALWAYS_INLINE const LChar* characters8() const { ASSERT(is8Bit()); return reinterpret_cast<const LChar*>(this + 1); } |
ALWAYS_INLINE const UChar* characters16() const { ASSERT(!is8Bit()); return reinterpret_cast<const UChar*>(this + 1); } |
+ ALWAYS_INLINE const void* bytes() const { return reinterpret_cast<const void*>(this + 1); } |
template <typename CharType> |
ALWAYS_INLINE const CharType * getCharacters() const; |