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

Issue 2411703003: Get rid of CFX_ArrayTemplate<CPDF_Object*> (Closed)

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

Description

Get rid of CFX_ArrayTemplate<CPDF_Object*> They won't work with std::unique_ptr down the road, so replace with std::vector. Committed: https://pdfium.googlesource.com/pdfium/+/74b8c6ed314cfcc83aea13f028b4231db26e6ff8

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix inlcude, logic error #

Total comments: 2

Patch Set 3 : Missed a couple #

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -158 lines) Patch
M core/fpdfapi/edit/cpdf_pagecontentgenerator.h View 3 chunks +4 lines, -2 lines 0 comments Download
M core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp View 1 2 3 1 chunk +8 lines, -10 lines 0 comments Download
M core/fpdfapi/parser/cpdf_data_avail.h View 1 4 chunks +9 lines, -7 lines 0 comments Download
M core/fpdfapi/parser/cpdf_data_avail.cpp View 1 17 chunks +94 lines, -113 lines 0 comments Download
M core/fpdfapi/parser/cpdf_parser.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M core/fpdfapi/parser/cpdf_parser.cpp View 4 chunks +5 lines, -6 lines 0 comments Download
M fpdfsdk/fpdf_flatten.cpp View 1 2 7 chunks +7 lines, -9 lines 0 comments Download
M xfa/fxfa/app/xfa_ffapp.cpp View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M xfa/fxfa/app/xfa_ffdoc.cpp View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M xfa/fxfa/xfa_ffapp.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (16 generated)
Tom Sepez
Lei, for review. https://codereview.chromium.org/2411703003/diff/1/core/fpdfapi/edit/cpdf_pagecontentgenerator.h File core/fpdfapi/edit/cpdf_pagecontentgenerator.h (right): https://codereview.chromium.org/2411703003/diff/1/core/fpdfapi/edit/cpdf_pagecontentgenerator.h#newcode42 core/fpdfapi/edit/cpdf_pagecontentgenerator.h:42: std::vector<CPDF_PageObject*> m_pageObjects; Note: overzealous search, take ...
4 years, 2 months ago (2016-10-11 23:10:55 UTC) #8
Lei Zhang
lgtm https://codereview.chromium.org/2411703003/diff/20001/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp File core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp (right): https://codereview.chromium.org/2411703003/diff/20001/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp#newcode46 core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp:46: if (pPageObj && pPageObj->IsImage()) Don't we already know ...
4 years, 2 months ago (2016-10-11 23:49:51 UTC) #15
Tom Sepez
https://codereview.chromium.org/2411703003/diff/20001/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp File core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp (right): https://codereview.chromium.org/2411703003/diff/20001/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp#newcode46 core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp:46: if (pPageObj && pPageObj->IsImage()) On 2016/10/11 23:49:51, Lei Zhang ...
4 years, 2 months ago (2016-10-12 16:17:38 UTC) #16
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/2411703003/60001
4 years, 2 months ago (2016-10-12 16:18:31 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 16:38:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/74b8c6ed314cfcc83aea13f028b4231db26e...

Powered by Google App Engine
This is Rietveld 408576698