summaryrefslogtreecommitdiff
path: root/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp')
-rw-r--r--chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp b/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp
index 725a17348b7..a5909ce9e5c 100644
--- a/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp
+++ b/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_contentmark.cpp
@@ -55,12 +55,12 @@ void CPDF_ContentMark::AddMarkWithDirectDict(ByteString name,
m_pMarkData->AddMarkWithDirectDict(std::move(name), pDict);
}
-void CPDF_ContentMark::AddMarkWithPropertiesDict(
- ByteString name,
+void CPDF_ContentMark::AddMarkWithPropertiesHolder(
+ const ByteString& name,
CPDF_Dictionary* pDict,
const ByteString& property_name) {
EnsureMarkDataExists();
- m_pMarkData->AddMarkWithPropertiesDict(std::move(name), pDict, property_name);
+ m_pMarkData->AddMarkWithPropertiesHolder(name, pDict, property_name);
}
bool CPDF_ContentMark::RemoveMark(CPDF_ContentMarkItem* pMarkItem) {
@@ -145,12 +145,12 @@ void CPDF_ContentMark::MarkData::AddMarkWithDirectDict(ByteString name,
m_Marks.push_back(pItem);
}
-void CPDF_ContentMark::MarkData::AddMarkWithPropertiesDict(
- ByteString name,
+void CPDF_ContentMark::MarkData::AddMarkWithPropertiesHolder(
+ const ByteString& name,
CPDF_Dictionary* pDict,
const ByteString& property_name) {
auto pItem = pdfium::MakeRetain<CPDF_ContentMarkItem>(std::move(name));
- pItem->SetPropertiesDict(pDict, property_name);
+ pItem->SetPropertiesHolder(pDict, property_name);
m_Marks.push_back(pItem);
}