| Index: Source/platform/exported/WebData.cpp
|
| diff --git a/Source/platform/exported/WebData.cpp b/Source/platform/exported/WebData.cpp
|
| index 72403e520ebbd3a6780fbc61d44637ccdceed1ac..8bf12a5ee87919e2914aced1211e801c82361cb4 100644
|
| --- a/Source/platform/exported/WebData.cpp
|
| +++ b/Source/platform/exported/WebData.cpp
|
| @@ -66,6 +66,16 @@ const char* WebData::data() const
|
| return m_private->data();
|
| }
|
|
|
| +#if INSIDE_BLINK
|
| +String WebData::toASCIIString() const
|
| +{
|
| + String result(data(), size());
|
| + ASSERT(result.containsOnlyASCII());
|
| + return result;
|
| +}
|
| +#endif
|
| +
|
| +
|
| WebData::WebData(const PassRefPtr<SharedBuffer>& buffer)
|
| : m_private(buffer)
|
| {
|
|
|