summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-09-20 01:20:45 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-20 01:20:45 +0000
commitf3cc72fd2b6910d4d7437f71efce23b501c5b526 (patch)
treed44f204dfa1bcfdb43353c28d8611ec210df683e /core/fpdfapi
parentd39389f6ec2eb96695d2645e1fc4e71fd7c5da08 (diff)
downloadpdfium-f3cc72fd2b6910d4d7437f71efce23b501c5b526.tar.xz
Remove many unneeded STL #includes from headers.
Change-Id: I7010cedee8d17d05b2c37a94d767e6f3a9c48f7d Reviewed-on: https://pdfium-review.googlesource.com/42790 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/edit/cpdf_encryptor.h1
-rw-r--r--core/fpdfapi/font/cpdf_cmapparser.h2
-rw-r--r--core/fpdfapi/page/cpdf_imageobject.h2
-rw-r--r--core/fpdfapi/parser/cpdf_cross_ref_avail.h1
-rw-r--r--core/fpdfapi/parser/cpdf_object_avail.h1
-rw-r--r--core/fpdfapi/parser/cpdf_object_stream.h1
-rw-r--r--core/fpdfapi/render/cpdf_devicebuffer.h2
-rw-r--r--core/fpdfapi/render/cpdf_dibbase.h1
-rw-r--r--core/fpdfapi/render/cpdf_imagecacheentry.h2
-rw-r--r--core/fpdfapi/render/cpdf_imageloader.h2
10 files changed, 0 insertions, 15 deletions
diff --git a/core/fpdfapi/edit/cpdf_encryptor.h b/core/fpdfapi/edit/cpdf_encryptor.h
index 5486c4f248..0e1dd571d3 100644
--- a/core/fpdfapi/edit/cpdf_encryptor.h
+++ b/core/fpdfapi/edit/cpdf_encryptor.h
@@ -9,7 +9,6 @@
#include <stdint.h>
-#include <memory>
#include <vector>
#include "core/fxcrt/fx_memory.h"
diff --git a/core/fpdfapi/font/cpdf_cmapparser.h b/core/fpdfapi/font/cpdf_cmapparser.h
index fae65cfe00..3cd7b3318e 100644
--- a/core/fpdfapi/font/cpdf_cmapparser.h
+++ b/core/fpdfapi/font/cpdf_cmapparser.h
@@ -7,7 +7,6 @@
#ifndef CORE_FPDFAPI_FONT_CPDF_CMAPPARSER_H_
#define CORE_FPDFAPI_FONT_CPDF_CMAPPARSER_H_
-#include <map>
#include <utility>
#include <vector>
@@ -36,7 +35,6 @@ class CPDF_CMapParser {
static CIDSet CharsetFromOrdering(const ByteStringView& ordering);
private:
-
UnownedPtr<CPDF_CMap> const m_pCMap;
int m_Status;
int m_CodeSeq;
diff --git a/core/fpdfapi/page/cpdf_imageobject.h b/core/fpdfapi/page/cpdf_imageobject.h
index 2e01598b8a..41611b826c 100644
--- a/core/fpdfapi/page/cpdf_imageobject.h
+++ b/core/fpdfapi/page/cpdf_imageobject.h
@@ -7,8 +7,6 @@
#ifndef CORE_FPDFAPI_PAGE_CPDF_IMAGEOBJECT_H_
#define CORE_FPDFAPI_PAGE_CPDF_IMAGEOBJECT_H_
-#include <memory>
-
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fxcrt/fx_coordinates.h"
diff --git a/core/fpdfapi/parser/cpdf_cross_ref_avail.h b/core/fpdfapi/parser/cpdf_cross_ref_avail.h
index aad58f35e7..fa74bcebb1 100644
--- a/core/fpdfapi/parser/cpdf_cross_ref_avail.h
+++ b/core/fpdfapi/parser/cpdf_cross_ref_avail.h
@@ -5,7 +5,6 @@
#ifndef CORE_FPDFAPI_PARSER_CPDF_CROSS_REF_AVAIL_H_
#define CORE_FPDFAPI_PARSER_CPDF_CROSS_REF_AVAIL_H_
-#include <memory>
#include <queue>
#include <set>
diff --git a/core/fpdfapi/parser/cpdf_object_avail.h b/core/fpdfapi/parser/cpdf_object_avail.h
index 040cec7252..ea4d449475 100644
--- a/core/fpdfapi/parser/cpdf_object_avail.h
+++ b/core/fpdfapi/parser/cpdf_object_avail.h
@@ -5,7 +5,6 @@
#ifndef CORE_FPDFAPI_PARSER_CPDF_OBJECT_AVAIL_H_
#define CORE_FPDFAPI_PARSER_CPDF_OBJECT_AVAIL_H_
-#include <memory>
#include <set>
#include <stack>
diff --git a/core/fpdfapi/parser/cpdf_object_stream.h b/core/fpdfapi/parser/cpdf_object_stream.h
index 44aa8f72e5..a5309521a7 100644
--- a/core/fpdfapi/parser/cpdf_object_stream.h
+++ b/core/fpdfapi/parser/cpdf_object_stream.h
@@ -7,7 +7,6 @@
#include <map>
#include <memory>
-#include <vector>
#include "core/fpdfapi/parser/cpdf_object.h"
#include "core/fxcrt/retain_ptr.h"
diff --git a/core/fpdfapi/render/cpdf_devicebuffer.h b/core/fpdfapi/render/cpdf_devicebuffer.h
index d265b0c30e..8ccf2b75b7 100644
--- a/core/fpdfapi/render/cpdf_devicebuffer.h
+++ b/core/fpdfapi/render/cpdf_devicebuffer.h
@@ -7,8 +7,6 @@
#ifndef CORE_FPDFAPI_RENDER_CPDF_DEVICEBUFFER_H_
#define CORE_FPDFAPI_RENDER_CPDF_DEVICEBUFFER_H_
-#include <memory>
-
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/unowned_ptr.h"
diff --git a/core/fpdfapi/render/cpdf_dibbase.h b/core/fpdfapi/render/cpdf_dibbase.h
index be48c3182d..c74313d23c 100644
--- a/core/fpdfapi/render/cpdf_dibbase.h
+++ b/core/fpdfapi/render/cpdf_dibbase.h
@@ -7,7 +7,6 @@
#ifndef CORE_FPDFAPI_RENDER_CPDF_DIBBASE_H_
#define CORE_FPDFAPI_RENDER_CPDF_DIBBASE_H_
-#include <map>
#include <memory>
#include <vector>
diff --git a/core/fpdfapi/render/cpdf_imagecacheentry.h b/core/fpdfapi/render/cpdf_imagecacheentry.h
index 8a4f919e8d..1cbe4eed94 100644
--- a/core/fpdfapi/render/cpdf_imagecacheentry.h
+++ b/core/fpdfapi/render/cpdf_imagecacheentry.h
@@ -7,8 +7,6 @@
#ifndef CORE_FPDFAPI_RENDER_CPDF_IMAGECACHEENTRY_H_
#define CORE_FPDFAPI_RENDER_CPDF_IMAGECACHEENTRY_H_
-#include <memory>
-
#include "core/fpdfapi/render/cpdf_dibbase.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/retain_ptr.h"
diff --git a/core/fpdfapi/render/cpdf_imageloader.h b/core/fpdfapi/render/cpdf_imageloader.h
index 7586d69cc2..672b83b70a 100644
--- a/core/fpdfapi/render/cpdf_imageloader.h
+++ b/core/fpdfapi/render/cpdf_imageloader.h
@@ -7,8 +7,6 @@
#ifndef CORE_FPDFAPI_RENDER_CPDF_IMAGELOADER_H_
#define CORE_FPDFAPI_RENDER_CPDF_IMAGELOADER_H_
-#include <memory>
-
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/unowned_ptr.h"
#include "core/fxge/fx_dib.h"