|
Make CFX_ByteString(const CFX_ByteStringC&) explicit.
Add missing helper function to CFX_ByteTextBuf to avoid the
anti-pattern CFX_ByteString(sBuf.AsStringC()), using the name
"Make" to indicate there's an allocation going on in this case.
Change some method arguments to take pre-existing ByteStrings where
possible.
Committed: https://pdfium.googlesource.com/pdfium/+/71a452f8ce12e31cc4e0d8c7878567b0c7fc63c2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+210 lines, -227 lines) |
Patch |
|
M |
core/fpdfapi/fpdf_page/fpdf_page_doc.cpp
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_page/fpdf_page_parser.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_page/pageint.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_document.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp
|
View
|
|
3 chunks |
+17 lines, -19 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/fpdf_parser_utility.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_render/fpdf_render_text.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfdoc/cpvt_generateap.cpp
|
View
|
1
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_action.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_basic.cpp
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -15 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_bookmark.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_formfield.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_link.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_ocg.cpp
|
View
|
|
3 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_tagged.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/include/fpdf_doc.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fxcodec/codec/fx_codec_icc.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_basic_bstring.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_basic_buffer.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_basic_utf.cpp
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/fx_xml_parser.cpp
|
View
|
1
2
3
4
|
8 chunks |
+27 lines, -22 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/include/fx_basic.h
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/include/fx_string.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
core/fxcrt/include/fx_xml.h
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
core/fxge/ge/fx_ge_fontmap.cpp
|
View
|
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fxge/ge/fx_ge_text.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
core/fxge/include/fx_font.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/formfiller/cba_fontmap.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fpdf_transformpage.cpp
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fpdfppo.cpp
|
View
|
1
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fxedit/fxet_ap.cpp
|
View
|
|
6 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fxedit/fxet_pageobjs.cpp
|
View
|
1
|
8 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/pdfwindow/PWL_Caret.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/pdfwindow/PWL_Edit.cpp
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/pdfwindow/PWL_Icon.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/pdfwindow/PWL_Label.cpp
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/pdfwindow/PWL_Utils.cpp
|
View
|
|
23 chunks |
+22 lines, -27 lines |
0 comments
|
Download
|
|
M |
xfa/fwl/basewidget/fwl_editimp.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|