summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_objects.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-10 15:39:28 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-10 15:39:28 -0800
commitd2cfdd5c72be670aff556c44aaff53df66b23ea6 (patch)
treede7fce67d473f019174e554790b403a069c59eb5 /core/include/fpdfapi/fpdf_objects.h
parent60d909e9d4444b2b8582275624ee97734d331a38 (diff)
downloadpdfium-d2cfdd5c72be670aff556c44aaff53df66b23ea6.tar.xz
Merge to XFA: Replace several more CFX_MapPtrToPtr with std::set or std::map
Original Review URL: https://codereview.chromium.org/1520643002 . (cherry picked from commit 7db2a535f163e7ce5995da12161ebd0214f0f75a) Original Review URL: https://codereview.chromium.org/1511413008 . (cherry picked from commit 168cfb7ee0f2abbd2bddb7e7d8b430a6d8c6c120) TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1515613006 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_objects.h')
-rw-r--r--core/include/fpdfapi/fpdf_objects.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index 143e7d71c2..8522e9be64 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -7,6 +7,8 @@
#ifndef CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_
#define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_
+#include <set>
+
#include "core/include/fxcrt/fx_coordinates.h"
#include "core/include/fxcrt/fx_system.h"
@@ -129,7 +131,8 @@ class CPDF_Object {
private:
CPDF_Object(const CPDF_Object& src) {}
- CPDF_Object* CloneInternal(FX_BOOL bDirect, CFX_MapPtrToPtr* visited) const;
+ CPDF_Object* CloneInternal(FX_BOOL bDirect,
+ std::set<FX_DWORD>* visited) const;
};
class CPDF_Boolean : public CPDF_Object {
public: