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

Unified Diff: core/fxcrt/fx_basic_bstring.cpp

Issue 1977093002: Make CFX_ByteString(const CFX_ByteStringC&) explicit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: First mac-only fix Created 4 years, 7 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_bstring.cpp
diff --git a/core/fxcrt/fx_basic_bstring.cpp b/core/fxcrt/fx_basic_bstring.cpp
index e035dd53d1cf0a86bc40c681201dc19d75ef9253..1c90ff8868ce5bebf52afc8838d925e793674cbd 100644
--- a/core/fxcrt/fx_basic_bstring.cpp
+++ b/core/fxcrt/fx_basic_bstring.cpp
@@ -407,7 +407,7 @@ void CFX_ByteString::AllocCopy(CFX_ByteString& dest,
CFX_ByteString CFX_ByteString::FormatInteger(int i, uint32_t flags) {
char buf[32];
- return CFX_ByteStringC(buf, Buffer_itoa(buf, i, flags));
+ return CFX_ByteString(buf, Buffer_itoa(buf, i, flags));
}
void CFX_ByteString::FormatV(const FX_CHAR* pFormat, va_list argList) {

Powered by Google App Engine
This is Rietveld 408576698