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

Issue 1886263003: Rename CFX_ByteTextBuf::GetByteString() to AsStringC(). (Closed)

Created:
4 years, 8 months ago by Tom Sepez
Modified:
4 years, 8 months ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Rename CFX_ByteTextBuf::GetByteString() to AsStringC(). Do the same for CFX_WideTextBuf as well. The name is confusing because these return CFX_ByteStringC, not CFX_ByteString. The AsStringC naming gives parallelism with the string types themselves, and may help to indicate that the result is only good for the lifetime of the object being operated upon. Committed: https://pdfium.googlesource.com/pdfium/+/8e4c505ff6d82263183e9f812fcc7b45c1414f15

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -126 lines) Patch
M core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 3 chunks +3 lines, -3 lines 1 comment Download
M core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp View 3 chunks +3 lines, -3 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/fpdfdoc/cpvt_generateap.cpp View 7 chunks +8 lines, -8 lines 0 comments Download
M core/fpdftext/fpdf_text_int.cpp View 7 chunks +10 lines, -11 lines 0 comments Download
M core/fxcrt/fx_basic_buffer.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M core/fxcrt/fx_xml_parser.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M core/fxcrt/include/fx_basic.h View 4 chunks +4 lines, -4 lines 0 comments Download
M core/fxge/ge/fx_ge_fontmap.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/fsdk_baseform.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/fxedit/fxet_ap.cpp View 6 chunks +6 lines, -6 lines 0 comments Download
M fpdfsdk/fxedit/fxet_pageobjs.cpp View 8 chunks +16 lines, -16 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, -1 line 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, -1 line 0 comments Download
M fpdfsdk/pdfwindow/PWL_Utils.cpp View 22 chunks +22 lines, -22 lines 0 comments Download
M xfa/fde/xml/fde_xml_imp.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/fm2js/xfa_fm2jscontext.cpp View 11 chunks +11 lines, -20 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_simpleexpression.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M xfa/fxfa/parser/xfa_document_serialize.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M xfa/fxfa/parser/xfa_parser_imp.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Tom Sepez
Dan, straight rename.
4 years, 8 months ago (2016-04-14 20:19:20 UTC) #3
Tom Sepez
https://codereview.chromium.org/1886263003/diff/1/core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp File core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp (right): https://codereview.chromium.org/1886263003/diff/1/core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp#newcode565 core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp:565: return buf.AsStringC(); note: this will make more sense and ...
4 years, 8 months ago (2016-04-14 20:21:08 UTC) #4
dsinclair
lgtm
4 years, 8 months ago (2016-04-14 20:42:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886263003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886263003/1
4 years, 8 months ago (2016-04-14 20:42:26 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 20:42:49 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/8e4c505ff6d82263183e9f812fcc7b45c141...

Powered by Google App Engine
This is Rietveld 408576698