summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_dictionary.h
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-07-28 14:34:37 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-07-28 18:20:46 +0000
commit106eecd27f346a0bc7f11f29a058a8fd16a77682 (patch)
treec93ae48b75bbba90ca404d3c40a1e08ecba59ac2 /core/fpdfapi/parser/cpdf_dictionary.h
parent834ebece214f06c6e9fda803ab321e8453b3a54b (diff)
downloadpdfium-106eecd27f346a0bc7f11f29a058a8fd16a77682.tar.xz
Return removed value from dictionary.
Change-Id: I218179565cd991b71fd9c909b94f967bbf80c74d Reviewed-on: https://pdfium-review.googlesource.com/8912 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_dictionary.h')
-rw-r--r--core/fpdfapi/parser/cpdf_dictionary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_dictionary.h b/core/fpdfapi/parser/cpdf_dictionary.h
index f741299d2d..31a09d954d 100644
--- a/core/fpdfapi/parser/cpdf_dictionary.h
+++ b/core/fpdfapi/parser/cpdf_dictionary.h
@@ -92,7 +92,7 @@ class CPDF_Dictionary : public CPDF_Object {
CPDF_IndirectObjectHolder* pHolder);
// Invalidates iterators for the element with the key |key|.
- void RemoveFor(const CFX_ByteString& key);
+ std::unique_ptr<CPDF_Object> RemoveFor(const CFX_ByteString& key);
// Invalidates iterators for the element with the key |oldkey|.
void ReplaceKey(const CFX_ByteString& oldkey, const CFX_ByteString& newkey);