summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_streamcontentparser.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-24 18:44:55 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-24 18:44:55 +0000
commit877e1e212794c6a43f6661198ac1b369fab975be (patch)
tree0aea008c19f8633dc19e91138667d49576f7523e /core/fpdfapi/page/cpdf_streamcontentparser.cpp
parent1313ca08f7156898acf09e893e3f0e20d2d85424 (diff)
downloadpdfium-877e1e212794c6a43f6661198ac1b369fab975be.tar.xz
Make CPDF_PathObject::m_FillType private.
Change-Id: I69436316dd4a12ebdc3f09e7db3bf25c7495a4ce Reviewed-on: https://pdfium-review.googlesource.com/c/44512 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_streamcontentparser.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_streamcontentparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.cpp b/core/fpdfapi/page/cpdf_streamcontentparser.cpp
index fb7459d92e..245a2852bc 100644
--- a/core/fpdfapi/page/cpdf_streamcontentparser.cpp
+++ b/core/fpdfapi/page/cpdf_streamcontentparser.cpp
@@ -1475,8 +1475,8 @@ void CPDF_StreamContentParser::AddPathObject(int FillType, bool bStroke) {
if (bStroke || FillType) {
auto pPathObj =
pdfium::MakeUnique<CPDF_PathObject>(GetCurrentStreamIndex());
- pPathObj->m_FillType = FillType;
pPathObj->m_Path = Path;
+ pPathObj->set_filltype(FillType);
pPathObj->set_stroke(bStroke);
pPathObj->set_matrix(matrix);
SetGraphicStates(pPathObj.get(), true, false, true);