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

Issue 2648773003: Replace CXFA_StrokeArray and CXFA_WidgetArray with std::vector (Closed)

Created:
3 years, 11 months ago by Tom Sepez
Modified:
3 years, 11 months ago
Reviewers:
npm, dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Replace CXFA_StrokeArray and CXFA_WidgetArray with std::vector Review-Url: https://codereview.chromium.org/2648773003 Committed: https://pdfium.googlesource.com/pdfium/+/a0b2d23d1121202d3821291483943a47a3c9e32e

Patch Set 1 : Nothing but sed #

Patch Set 2 : fix logic #

Patch Set 3 : default constructor so resize() will work #

Patch Set 4 : pass by pointer #

Total comments: 12

Patch Set 5 : nits #

Patch Set 6 : remove if #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -110 lines) Patch
M xfa/fxfa/app/xfa_ffpageview.cpp View 1 2 3 4 5 7 chunks +78 lines, -58 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidget.cpp View 1 2 3 4 6 chunks +9 lines, -9 lines 0 comments Download
M xfa/fxfa/parser/cxfa_box.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M xfa/fxfa/parser/cxfa_box.cpp View 1 2 3 4 3 chunks +26 lines, -32 lines 0 comments Download
M xfa/fxfa/parser/cxfa_stroke.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M xfa/fxfa/parser/cxfa_widgetdata.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M xfa/fxfa/xfa_ffpageview.h View 1 2 3 6 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
Tom Sepez
npm, Dan, for review. This was a little trickier owing to the signed indexing and ...
3 years, 11 months ago (2017-01-20 21:38:15 UTC) #4
npm
lgtm https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp File xfa/fxfa/app/xfa_ffpageview.cpp (right): https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode250 xfa/fxfa/app/xfa_ffpageview.cpp:250: if (!m_TabOrderWidgetArray.empty()) { Do you need this if, ...
3 years, 11 months ago (2017-01-23 14:49:51 UTC) #7
Tom Sepez
Please double-check the logic change in cxfa_box.cpp. https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp File xfa/fxfa/app/xfa_ffpageview.cpp (right): https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode250 xfa/fxfa/app/xfa_ffpageview.cpp:250: if (!m_TabOrderWidgetArray.empty()) ...
3 years, 11 months ago (2017-01-23 18:36:51 UTC) #8
npm
https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp File xfa/fxfa/app/xfa_ffpageview.cpp (right): https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode250 xfa/fxfa/app/xfa_ffpageview.cpp:250: if (!m_TabOrderWidgetArray.empty()) { On 2017/01/23 18:36:51, Tom Sepez wrote: ...
3 years, 11 months ago (2017-01-23 18:51:51 UTC) #9
Tom Sepez
https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp File xfa/fxfa/app/xfa_ffpageview.cpp (right): https://codereview.chromium.org/2648773003/diff/60001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode250 xfa/fxfa/app/xfa_ffpageview.cpp:250: if (!m_TabOrderWidgetArray.empty()) { On 2017/01/23 18:51:51, npm wrote: > ...
3 years, 11 months ago (2017-01-23 18:59:45 UTC) #10
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/2648773003/100001
3 years, 11 months ago (2017-01-23 18:59:54 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 19:32:41 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://pdfium.googlesource.com/pdfium/+/a0b2d23d1121202d3821291483943a47a3c9...

Powered by Google App Engine
This is Rietveld 408576698