Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1956)

Unified Diff: core/fxcrt/include/fx_string.h

Issue 1904563002: Standalone GN build. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/fxcrt/include/fx_string.h
diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h
index 2fabee39cf9cfc5ef65a3587be91b029cd1b567c..724edd3469902b033d4d55877a0d31030d2e97c8 100644
--- a/core/fxcrt/include/fx_string.h
+++ b/core/fxcrt/include/fx_string.h
@@ -506,7 +506,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 { return m_pData ? m_pData->m_String : L""; }
+ const FX_WCHAR* c_str() const;
// Explicit conversion to CFX_WideStringC.
// Note: Any subsequent modification of |this| will invalidate the result.

Powered by Google App Engine
This is Rietveld 408576698