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

Issue 1881803003: Remove IFDE_Pen and IFDE_Brush. (Closed)

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

Description

Remove IFDE_Pen and IFDE_Brush. This Cl removes the two interfaces and renames CFDE_SolidBrush to CFDE_Brush. Uncalled methods are removed from both CFDE_Brush and CFDE_Pen and code simplified to match. BUG=pdfium:468 Committed: https://pdfium.googlesource.com/pdfium/+/a5c1323ae6a2379fb5fe3ddea4c223fccd0c41b0

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -465 lines) Patch
M BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M core/fxge/include/fx_ge.h View 1 chunk +0 lines, -3 lines 0 comments Download
M xfa.gyp View 2 chunks +0 lines, -2 lines 0 comments Download
D xfa/fde/fde_brush.h View 1 chunk +0 lines, -38 lines 0 comments Download
M xfa/fde/fde_gedevice.h View 2 chunks +17 lines, -20 lines 0 comments Download
M xfa/fde/fde_gedevice.cpp View 12 chunks +95 lines, -140 lines 0 comments Download
M xfa/fde/fde_object.h View 1 chunk +11 lines, -91 lines 0 comments Download
D xfa/fde/fde_pen.h View 1 chunk +0 lines, -65 lines 0 comments Download
M xfa/fde/fde_render.cpp View 7 chunks +63 lines, -62 lines 0 comments Download
M xfa/fde/fde_renderdevice.h View 2 chunks +16 lines, -16 lines 0 comments Download
M xfa/fde/fde_visualset.h View 2 chunks +3 lines, -4 lines 0 comments Download
M xfa/fde/tto/fde_textout.cpp View 1 5 chunks +6 lines, -12 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.h View 2 chunks +2 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.cpp View 5 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
dsinclair
PTAL. https://codereview.chromium.org/1881803003/diff/1/xfa/fde/fde_gedevice.cpp File xfa/fde/fde_gedevice.cpp (right): https://codereview.chromium.org/1881803003/diff/1/xfa/fde/fde_gedevice.cpp#newcode328 xfa/fde/fde_gedevice.cpp:328: graphState.m_LineCap = CFX_GraphStateData::LineCapButt; We never called the setter ...
4 years, 8 months ago (2016-04-12 19:10:04 UTC) #2
Tom Sepez
lgtm https://codereview.chromium.org/1881803003/diff/1/xfa/fde/tto/fde_textout.cpp File xfa/fde/tto/fde_textout.cpp (right): https://codereview.chromium.org/1881803003/diff/1/xfa/fde/tto/fde_textout.cpp#newcode976 xfa/fde/tto/fde_textout.cpp:976: if (pBrush) nit: no need to test, just ...
4 years, 8 months ago (2016-04-12 20:03:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881803003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881803003/20001
4 years, 8 months ago (2016-04-12 20:07:35 UTC) #6
dsinclair
https://codereview.chromium.org/1881803003/diff/1/xfa/fde/tto/fde_textout.cpp File xfa/fde/tto/fde_textout.cpp (right): https://codereview.chromium.org/1881803003/diff/1/xfa/fde/tto/fde_textout.cpp#newcode976 xfa/fde/tto/fde_textout.cpp:976: if (pBrush) On 2016/04/12 20:03:34, Tom Sepez wrote: > ...
4 years, 8 months ago (2016-04-12 20:08:32 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 20:19:42 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/a5c1323ae6a2379fb5fe3ddea4c223fccd0c...

Powered by Google App Engine
This is Rietveld 408576698