summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_shadingpattern.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-22 15:15:30 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-22 23:44:01 +0000
commit4cb82ee95256f110489f2b503e70729c44419e74 (patch)
tree56d11efe9bd8e93af2145c02f4f3c84ea3954f55 /core/fpdfapi/page/cpdf_shadingpattern.cpp
parent355954b8f09a65934b95dd6ca1299a73ae5e24b2 (diff)
downloadpdfium-4cb82ee95256f110489f2b503e70729c44419e74.tar.xz
Convert more c-style pointers to CFX_UnownedPtr
Change-Id: I551b4210c95db0b916e9fe6cddf11e6c3d015c50 Reviewed-on: https://pdfium-review.googlesource.com/5790 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_shadingpattern.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_shadingpattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_shadingpattern.cpp b/core/fpdfapi/page/cpdf_shadingpattern.cpp
index dae5ec356c..80eea63f9c 100644
--- a/core/fpdfapi/page/cpdf_shadingpattern.cpp
+++ b/core/fpdfapi/page/cpdf_shadingpattern.cpp
@@ -93,7 +93,7 @@ bool CPDF_ShadingPattern::Load() {
m_ShadingType = ToShadingType(pShadingDict->GetIntegerFor("ShadingType"));
// We expect to have a stream if our shading type is a mesh.
- if (IsMeshShading() && !ToStream(m_pShadingObj))
+ if (IsMeshShading() && !ToStream(m_pShadingObj.Get()))
return false;
return true;