summaryrefslogtreecommitdiff
path: root/core/fpdfapi/edit/cpdf_pagecontentmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/edit/cpdf_pagecontentmanager.h')
-rw-r--r--core/fpdfapi/edit/cpdf_pagecontentmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/edit/cpdf_pagecontentmanager.h b/core/fpdfapi/edit/cpdf_pagecontentmanager.h
index bad8c7a38c..b49b403a75 100644
--- a/core/fpdfapi/edit/cpdf_pagecontentmanager.h
+++ b/core/fpdfapi/edit/cpdf_pagecontentmanager.h
@@ -18,7 +18,7 @@ class CPDF_PageObjectHolder;
class CPDF_PageContentManager {
public:
- explicit CPDF_PageContentManager(CPDF_PageObjectHolder* pObjHolder);
+ explicit CPDF_PageContentManager(const CPDF_PageObjectHolder* pObjHolder);
~CPDF_PageContentManager();
// Gets the Content stream at a given index. If Contents is a single stream
@@ -39,7 +39,7 @@ class CPDF_PageContentManager {
void ExecuteScheduledRemovals();
private:
- UnownedPtr<CPDF_PageObjectHolder> const obj_holder_;
+ UnownedPtr<const CPDF_PageObjectHolder> const obj_holder_;
UnownedPtr<CPDF_Document> const doc_;
UnownedPtr<CPDF_Array> contents_array_;
UnownedPtr<CPDF_Stream> contents_stream_;