diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-07-11 19:29:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-11 19:29:22 +0000 |
commit | 75625a8a8a84fffcfe09a09b57d77c99b5261f7d (patch) | |
tree | 08e8e5febc156a5b7974ccd2c666b8c376482c09 /core/fpdfapi/page/cpdf_contentmarkitem.cpp | |
parent | 8ac090c4a57bc27044adc7abe8143ce45388b021 (diff) | |
download | pdfium-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.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_contentmarkitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_contentmarkitem.cpp b/core/fpdfapi/page/cpdf_contentmarkitem.cpp index dd9f7e884c..2e715926d3 100644 --- a/core/fpdfapi/page/cpdf_contentmarkitem.cpp +++ b/core/fpdfapi/page/cpdf_contentmarkitem.cpp @@ -10,7 +10,8 @@ #include "core/fpdfapi/parser/cpdf_dictionary.h" -CPDF_ContentMarkItem::CPDF_ContentMarkItem() {} +CPDF_ContentMarkItem::CPDF_ContentMarkItem(ByteString name) + : m_MarkName(std::move(name)) {} CPDF_ContentMarkItem::~CPDF_ContentMarkItem() {} |