summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_loadercontext.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-22 16:14:49 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-22 16:14:49 +0000
commit03fdf3a2b5ee0974be13a9594a897003df412306 (patch)
tree3ba4cb34ef92e4245c6e81835760a76dc34418c7 /xfa/fxfa/cxfa_loadercontext.h
parentb9509d740966e16a94dc456c634b3f1005e8be95 (diff)
downloadpdfium-03fdf3a2b5ee0974be13a9594a897003df412306.tar.xz
Mark CFX_XMLNode pointers as const in various places.
Change-Id: I86c6f7526e2ef4c3e8de30ebaff223095ee70fc4 Reviewed-on: https://pdfium-review.googlesource.com/40811 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_loadercontext.h')
-rw-r--r--xfa/fxfa/cxfa_loadercontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_loadercontext.h b/xfa/fxfa/cxfa_loadercontext.h
index ff7c6032a8..a6d8fb0eeb 100644
--- a/xfa/fxfa/cxfa_loadercontext.h
+++ b/xfa/fxfa/cxfa_loadercontext.h
@@ -30,7 +30,7 @@ class CXFA_LoaderContext {
int32_t m_iLines;
int32_t m_iTotalLines;
uint32_t m_dwFlags;
- UnownedPtr<CFX_XMLNode> m_pXMLNode;
+ UnownedPtr<const CFX_XMLNode> m_pXMLNode;
UnownedPtr<CXFA_Node> m_pNode;
RetainPtr<CFX_CSSComputedStyle> m_pParentStyle;
std::vector<float> m_lineHeights;