summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_basic_wstring.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-20 12:03:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-20 12:03:54 -0700
commiteca0f82e5c7bc7b7d34eaa32c452147ee2b7bbdb (patch)
treec48059440011de127446c21f698c1088c86c570e /core/fxcrt/fx_basic_wstring.cpp
parent6b2c4d7d709dbfca0a59ce6310c0941669d0f53e (diff)
downloadpdfium-eca0f82e5c7bc7b7d34eaa32c452147ee2b7bbdb.tar.xz
Inline CFX_WideString::c_str.
This was causing issues at one point with the GN build but seems to have been resolved in the meantime. Review URL: https://codereview.chromium.org/1907563002
Diffstat (limited to 'core/fxcrt/fx_basic_wstring.cpp')
-rw-r--r--core/fxcrt/fx_basic_wstring.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fxcrt/fx_basic_wstring.cpp b/core/fxcrt/fx_basic_wstring.cpp
index 1e8f1f3232..069b9fa42d 100644
--- a/core/fxcrt/fx_basic_wstring.cpp
+++ b/core/fxcrt/fx_basic_wstring.cpp
@@ -579,10 +579,6 @@ void CFX_WideString::FormatV(const FX_WCHAR* pFormat, va_list argList) {
va_end(argListSave);
}
-const FX_WCHAR* CFX_WideString::c_str() const {
- return m_pData ? m_pData->m_String : L"";
-}
-
void CFX_WideString::Format(const FX_WCHAR* pFormat, ...) {
va_list argList;
va_start(argList, pFormat);