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

Issue 2180443002: Use actual type instead CFX_Deletable (Closed)

Created:
4 years, 5 months ago by Wei Li
Modified:
4 years, 5 months ago
Reviewers:
Lei Zhang, 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

Use actual type instead CFX_Deletable Change two places that used CFX_Deletable to use actual types. This makes the type more obvious, and avoids unnecessary casts. Committed: https://pdfium.googlesource.com/pdfium/+/9f515bcccb40e8ae251bbe8afc1ef6c4db1f05a8

Patch Set 1 #

Patch Set 2 : style fix #

Total comments: 10

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : one more fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -144 lines) Patch
M BUILD.gn View 1 2 3 chunks +4 lines, -1 line 0 comments Download
A core/fpdfapi/cpdf_pagerendercontext.cpp View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_page.cpp View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/include/cpdf_page.h View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M core/fpdfapi/include/cpdf_modulemgr.h View 1 2 3 chunks +15 lines, -3 lines 0 comments Download
A core/fpdfapi/include/cpdf_pagerendercontext.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M fpdfsdk/fpdf_ext.cpp View 1 2 3 chunks +7 lines, -24 lines 0 comments Download
M fpdfsdk/fpdf_progressive.cpp View 1 2 4 chunks +9 lines, -9 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 1 2 9 chunks +26 lines, -22 lines 0 comments Download
A fpdfsdk/fsdk_pauseadapter.cpp View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
D fpdfsdk/fsdk_rendercontext.cpp View 1 chunk +0 lines, -37 lines 0 comments Download
M fpdfsdk/include/fsdk_define.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A fpdfsdk/include/fsdk_pauseadapter.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
D fpdfsdk/include/fsdk_rendercontext.h View 1 chunk +0 lines, -41 lines 0 comments Download
M pdfium.gyp View 1 2 4 chunks +4 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (33 generated)
Wei Li
pls review, thanks
4 years, 5 months ago (2016-07-22 18:43:50 UTC) #7
Lei Zhang
Oh, hmm, there's already a CPDF_RenderContext. I find the location of the new file + ...
4 years, 5 months ago (2016-07-22 22:49:17 UTC) #8
Wei Li
Changed CRenderContext to CPDF_PageRenderContext as it is only used in RenderPage* functions and is owned ...
4 years, 5 months ago (2016-07-23 03:01:13 UTC) #25
Lei Zhang
lgtm https://codereview.chromium.org/2180443002/diff/120001/core/fpdfapi/cpdf_pagerendercontext.cpp File core/fpdfapi/cpdf_pagerendercontext.cpp (right): https://codereview.chromium.org/2180443002/diff/120001/core/fpdfapi/cpdf_pagerendercontext.cpp#newcode19 core/fpdfapi/cpdf_pagerendercontext.cpp:19: if (m_pOptions && m_pOptions->m_pOCContext) You don't have to ...
4 years, 5 months ago (2016-07-23 04:33:58 UTC) #30
Wei Li
thanks https://codereview.chromium.org/2180443002/diff/120001/core/fpdfapi/cpdf_pagerendercontext.cpp File core/fpdfapi/cpdf_pagerendercontext.cpp (right): https://codereview.chromium.org/2180443002/diff/120001/core/fpdfapi/cpdf_pagerendercontext.cpp#newcode19 core/fpdfapi/cpdf_pagerendercontext.cpp:19: if (m_pOptions && m_pOptions->m_pOCContext) On 2016/07/23 04:33:58, Lei ...
4 years, 5 months ago (2016-07-24 15:03:42 UTC) #33
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/2180443002/140001
4 years, 5 months ago (2016-07-24 15:08:09 UTC) #38
commit-bot: I haz the power
4 years, 5 months ago (2016-07-24 15:08:31 UTC) #40
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://pdfium.googlesource.com/pdfium/+/9f515bcccb40e8ae251bbe8afc1ef6c4db1f...

Powered by Google App Engine
This is Rietveld 408576698