|
Make CFX_WideString::FromLocal() take a CFX_ByteStringC arg
It doesn't persist the string beyond the duration of the
call, hence it should take the *StringC variant. Doing so
avoids some allocs by changing to the *StringC ctor in a few
places, at the cost of some explicit .ToByteStringC() calls
(which are cheap).
Committed: https://pdfium.googlesource.com/pdfium/+/8b36e5cc3d5f5f579c6b060e2c40b896a4b02bc0
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+38 lines, -29 lines) |
Patch |
|
M |
core/fpdfdoc/doc_action.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_basic.cpp
|
View
|
1
2
3
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_form.cpp
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_basic_bstring.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_basic_wstring.cpp
|
View
|
1
2
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_extension.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fxcrt/include/fx_basic.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/include/fx_string.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fsdk_mgr.cpp
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/javascript/PublicMethods.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
xfa/fgas/font/fgas_gefont.cpp
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
xfa/fxbarcode/BC_UtilCodingConvert.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 11 (6 generated)
|