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

Issue 2292363002: Make CPDF_GraphState have a CPDF_GraphStateData instead of inheriting (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@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Make CPDF_GraphState have a CPDF_GraphStateData instead of inheriting. Get callers out of the copy-before-write business, and let the class manage it instead. Committed: https://pdfium.googlesource.com/pdfium/+/4d9df422c340b3bc33e044d3d94e1ff9582e1260

Patch Set 1 #

Patch Set 2 : chromium-style #

Total comments: 4

Patch Set 3 : Rebase, nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -27 lines) Patch
M BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_allstates.cpp View 2 chunks +7 lines, -11 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_graphstate.h View 1 1 chunk +31 lines, -1 line 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_graphstate.cpp View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_pathobject.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textobject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 3 chunks +6 lines, -7 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render.cpp View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (17 generated)
Tom Sepez
Dan, for review.
4 years, 3 months ago (2016-08-30 21:35:23 UTC) #5
dsinclair
lgtm w/ nits. https://codereview.chromium.org/2292363002/diff/20001/core/fpdfapi/fpdf_page/cpdf_graphstate.cpp File core/fpdfapi/fpdf_page/cpdf_graphstate.cpp (right): https://codereview.chromium.org/2292363002/diff/20001/core/fpdfapi/fpdf_page/cpdf_graphstate.cpp#newcode12 core/fpdfapi/fpdf_page/cpdf_graphstate.cpp:12: CPDF_GraphState::CPDF_GraphState(const CPDF_GraphState& that) { nit: blank ...
4 years, 3 months ago (2016-08-31 13:42:25 UTC) #12
Tom Sepez
https://codereview.chromium.org/2292363002/diff/20001/core/fpdfapi/fpdf_page/cpdf_graphstate.cpp File core/fpdfapi/fpdf_page/cpdf_graphstate.cpp (right): https://codereview.chromium.org/2292363002/diff/20001/core/fpdfapi/fpdf_page/cpdf_graphstate.cpp#newcode12 core/fpdfapi/fpdf_page/cpdf_graphstate.cpp:12: CPDF_GraphState::CPDF_GraphState(const CPDF_GraphState& that) { On 2016/08/31 13:42:25, dsinclair wrote: ...
4 years, 3 months ago (2016-08-31 17:26:09 UTC) #17
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/2292363002/40001
4 years, 3 months ago (2016-08-31 17:26:26 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 17:26:42 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/4d9df422c340b3bc33e044d3d94e1ff9582e...

Powered by Google App Engine
This is Rietveld 408576698