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

Unified Diff: core/fxcrt/fx_basic_wstring.cpp

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/fx_basic_wstring.cpp
diff --git a/core/fxcrt/fx_basic_wstring.cpp b/core/fxcrt/fx_basic_wstring.cpp
index 069b9fa42d43ac1c5b506682ddc439ab406e76cf..1e8f1f32322168881e864a40aaa1ef32540f050b 100644
--- a/core/fxcrt/fx_basic_wstring.cpp
+++ b/core/fxcrt/fx_basic_wstring.cpp
@@ -579,6 +579,10 @@ void CFX_WideString::FormatV(const FX_WCHAR* pFormat, va_list argList) {
va_end(argListSave);
}
+const FX_WCHAR* CFX_WideString::c_str() const {
Tom Sepez 2016/04/19 21:45:09 same here
dsinclair 2016/04/20 13:19:39 When I did this conversion the first time, having
+ return m_pData ? m_pData->m_String : L"";
+}
+
void CFX_WideString::Format(const FX_WCHAR* pFormat, ...) {
va_list argList;
va_start(argList, pFormat);

Powered by Google App Engine
This is Rietveld 408576698