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

Issue 2287313004: Make CPDF_TextState have a CPDF_TextStateData rather than inheriting one. (Closed)

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

Description

Make CPDF_TextState have a CPDF_TextStateData rather than inheriting one. Committed: https://pdfium.googlesource.com/pdfium/+/fbda17d61de1e02799f5d77dceb23df3688b764e

Patch Set 1 #

Patch Set 2 : Move impl to .cpp file #

Patch Set 3 : Move impl to .cpp file #

Total comments: 6

Patch Set 4 : rebase #

Patch Set 5 : Casts, Casts, New -> Emplace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -92 lines) Patch
M core/fpdfapi/fpdf_page/cpdf_allstates.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_graphicstates.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textobject.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textstate.h View 1 2 3 4 1 chunk +28 lines, -5 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textstate.cpp View 1 2 3 4 1 chunk +66 lines, -24 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textstatedata.cpp View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 1 2 3 4 11 chunks +19 lines, -20 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfapi/fpdf_page/include/cpdf_textstatedata.h View 1 chunk +6 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_text.cpp View 1 2 3 4 4 chunks +5 lines, -6 lines 0 comments Download
M core/fpdftext/cpdf_textpage.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M core/fxcrt/cfx_count_ref_unittest.cpp View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M core/fxcrt/include/cfx_count_ref.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M core/fxge/agg/fx_agg_driver.cpp View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M core/fxge/ge/cfx_cliprgn.cpp View 1 2 3 4 2 chunks +2 lines, -6 lines 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 1 chunk +11 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Tom Sepez
Dan, for review. This is what the code will look like as we get callers ...
4 years, 3 months ago (2016-08-29 23:23:35 UTC) #2
dsinclair
https://codereview.chromium.org/2287313004/diff/40001/core/fpdfapi/fpdf_page/cpdf_textstate.cpp File core/fpdfapi/fpdf_page/cpdf_textstate.cpp (right): https://codereview.chromium.org/2287313004/diff/40001/core/fpdfapi/fpdf_page/cpdf_textstate.cpp#newcode15 core/fpdfapi/fpdf_page/cpdf_textstate.cpp:15: void CPDF_TextState::New() { Can we call this Initialize()? Or, ...
4 years, 3 months ago (2016-08-30 13:36:11 UTC) #8
Tom Sepez
https://codereview.chromium.org/2287313004/diff/40001/core/fpdfapi/fpdf_page/cpdf_textstate.cpp File core/fpdfapi/fpdf_page/cpdf_textstate.cpp (right): https://codereview.chromium.org/2287313004/diff/40001/core/fpdfapi/fpdf_page/cpdf_textstate.cpp#newcode15 core/fpdfapi/fpdf_page/cpdf_textstate.cpp:15: void CPDF_TextState::New() { On 2016/08/30 13:36:10, dsinclair wrote: > ...
4 years, 3 months ago (2016-08-30 16:59:48 UTC) #11
dsinclair
lgtm
4 years, 3 months ago (2016-08-30 17:32:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287313004/80001
4 years, 3 months ago (2016-08-30 17:32:19 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 17:32:40 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/fbda17d61de1e02799f5d77dceb23df3688b...

Powered by Google App Engine
This is Rietveld 408576698