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

Issue 1878963004: Cleanup CPDFXFA_Page. (Closed)

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

Description

Cleanup CPDFXFA_Page. - Use std::unique_ptr. - Make dtor protected. - Simplify logic. - Remove unused bits from CXFA_FFPageView as well. Committed: https://pdfium.googlesource.com/pdfium/+/9f3dbbc54c6981f069b57e6714393ac6c0c64231

Patch Set 1 #

Patch Set 2 : self review nit #

Total comments: 4

Patch Set 3 : remove more cruft #

Total comments: 4

Patch Set 4 : and a little more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -115 lines) Patch
M fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_page.cpp View 1 2 5 chunks +17 lines, -36 lines 0 comments Download
M fpdfsdk/fpdfxfa/include/fpdfxfa_page.h View 3 chunks +17 lines, -11 lines 0 comments Download
M xfa/fxfa/app/xfa_ffdocview.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffpageview.cpp View 1 2 3 2 chunks +12 lines, -50 lines 0 comments Download
M xfa/fxfa/include/xfa_ffpageview.h View 1 2 3 1 chunk +7 lines, -11 lines 0 comments Download
M xfa/fxfa/parser/xfa_doclayout.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/parser/xfa_document_layout_imp.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Lei Zhang
4 years, 8 months ago (2016-04-12 22:26:40 UTC) #2
Tom Sepez
lgtm https://codereview.chromium.org/1878963004/diff/20001/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp File fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp (right): https://codereview.chromium.org/1878963004/diff/20001/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp#newcode162 fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp:162: pPage->AddRef(); nit: pity this isn't called Retain(), then ...
4 years, 8 months ago (2016-04-12 23:40:00 UTC) #3
Lei Zhang
https://codereview.chromium.org/1878963004/diff/20001/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp File fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp (right): https://codereview.chromium.org/1878963004/diff/20001/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp#newcode162 fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp:162: pPage->AddRef(); On 2016/04/12 23:40:00, Tom Sepez wrote: > nit: ...
4 years, 8 months ago (2016-04-13 00:56:53 UTC) #5
Lei Zhang
Please take another look since I removed more stuff.
4 years, 8 months ago (2016-04-13 19:12:19 UTC) #6
Tom Sepez
lgtm.
4 years, 8 months ago (2016-04-13 20:08:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878963004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878963004/60001
4 years, 8 months ago (2016-04-13 20:18:05 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 20:18:27 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/9f3dbbc54c6981f069b57e6714393ac6c0c6...

Powered by Google App Engine
This is Rietveld 408576698