summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_contentmarkitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentmarkitem.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_contentmarkitem.cpp3
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() {}