| Index: third_party/WebKit/Source/platform/exported/WebString.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebString.cpp b/third_party/WebKit/Source/platform/exported/WebString.cpp
|
| index 6371178e6544bbbe3507ea4c292c9b30b25408c4..aa3b35938733bc01ef9d5ad80d58f24db2187ee9 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebString.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebString.cpp
|
| @@ -63,12 +63,12 @@ bool WebString::is8Bit() const
|
| return m_private->is8Bit();
|
| }
|
|
|
| -const WebLChar* WebString::data8() const
|
| +const WebLChar* WebString::data8OrNull() const
|
| {
|
| return !m_private.isNull() && is8Bit() ? m_private->characters8() : 0;
|
| }
|
|
|
| -const WebUChar* WebString::data16() const
|
| +const WebUChar* WebString::data16OrNull() const
|
| {
|
| return !m_private.isNull() && !is8Bit() ? m_private->characters16() : 0;
|
| }
|
|
|