diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-17 16:58:49 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-17 16:58:49 -0800 |
commit | dee2d7ba656cdf8111f879485146e0900630826a (patch) | |
tree | 3ea64c42d591456fedcf3e3cdd9d4f12dcdf1e18 /core/src/fpdfdoc/doc_annot.cpp | |
parent | 1e1d3b0f2bc6b6c185b37e0aa6b8663e901dc8bf (diff) | |
download | pdfium-dee2d7ba656cdf8111f879485146e0900630826a.tar.xz |
Banish CFX_ObjectArray to the XFA side.
Tidy whitespace, add missing consts in a few places. Remove
a few pointless typedefs.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1707953002 .
Diffstat (limited to 'core/src/fpdfdoc/doc_annot.cpp')
-rw-r--r-- | core/src/fpdfdoc/doc_annot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdfdoc/doc_annot.cpp b/core/src/fpdfdoc/doc_annot.cpp index a73d24410c..4b0b2b54bc 100644 --- a/core/src/fpdfdoc/doc_annot.cpp +++ b/core/src/fpdfdoc/doc_annot.cpp @@ -310,7 +310,7 @@ void CPDF_Annot::DrawBorder(CFX_RenderDevice* pDevice, int B = (int32_t)(pColor->GetNumberAt(2) * 255); argb = ArgbEncode(0xff, R, G, B); } - CPDF_GraphStateData graph_state; + CFX_GraphStateData graph_state; graph_state.m_LineWidth = width; if (style_char == 'D') { if (pDashArray) { @@ -335,7 +335,7 @@ void CPDF_Annot::DrawBorder(CFX_RenderDevice* pDevice, } CFX_FloatRect rect; GetRect(rect); - CPDF_PathData path; + CFX_PathData path; width /= 2; path.AppendRect(rect.left + width, rect.bottom + width, rect.right - width, rect.top - width); |