| Index: core/fxcrt/include/fx_string.h
|
| diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h
|
| index 8041522472608a8ca94b4a3e6fcf52aaed11f190..10a70d9334b268cfb197b96894e306a9386d8157 100644
|
| --- a/core/fxcrt/include/fx_string.h
|
| +++ b/core/fxcrt/include/fx_string.h
|
| @@ -496,7 +496,7 @@ class CFX_WideString {
|
|
|
| // Explicit conversion to C-style wide string.
|
| // Note: Any subsequent modification of |this| will invalidate the result.
|
| - const FX_WCHAR* c_str() const;
|
| + const FX_WCHAR* c_str() const { return m_pData ? m_pData->m_String : L""; }
|
|
|
| // Explicit conversion to CFX_WideStringC.
|
| // Note: Any subsequent modification of |this| will invalidate the result.
|
|
|