summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_contentmarkitem.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-07-11 19:29:22 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-11 19:29:22 +0000
commit75625a8a8a84fffcfe09a09b57d77c99b5261f7d (patch)
tree08e8e5febc156a5b7974ccd2c666b8c376482c09 /core/fpdfapi/page/cpdf_contentmarkitem.h
parent8ac090c4a57bc27044adc7abe8143ce45388b021 (diff)
downloadpdfium-75625a8a8a84fffcfe09a09b57d77c99b5261f7d.tar.xz
Cleanup CPDF_ContentMark.
Bug: pdfium:1118 Change-Id: I457a52196ee177a09d33d9e025a094888be3fb60 Reviewed-on: https://pdfium-review.googlesource.com/37610 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentmarkitem.h')
-rw-r--r--core/fpdfapi/page/cpdf_contentmarkitem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_contentmarkitem.h b/core/fpdfapi/page/cpdf_contentmarkitem.h
index 343db9d1a6..6d2310e261 100644
--- a/core/fpdfapi/page/cpdf_contentmarkitem.h
+++ b/core/fpdfapi/page/cpdf_contentmarkitem.h
@@ -21,7 +21,7 @@ class CPDF_ContentMarkItem : public Retainable {
public:
enum ParamType { None, PropertiesDict, DirectDict };
- CPDF_ContentMarkItem();
+ explicit CPDF_ContentMarkItem(ByteString name);
~CPDF_ContentMarkItem() override;
ByteString GetName() const { return m_MarkName; }
@@ -30,7 +30,6 @@ class CPDF_ContentMarkItem : public Retainable {
CPDF_Dictionary* GetParam();
bool HasMCID() const;
- void SetName(const ByteString& name) { m_MarkName = name; }
void SetDirectDict(std::unique_ptr<CPDF_Dictionary> pDict);
void SetPropertiesDict(CPDF_Dictionary* pDict);