summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-04 12:18:35 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-04 12:18:35 -0700
commit69d9c68e705afa7a4008feb9bbeb19cea887ed47 (patch)
treeb5509c51aeeb89c99c7a4e0a60f8e5f29af5245c /core/fpdfapi
parent488b7ad845d6de212d89cd957303b294ecfa5922 (diff)
downloadpdfium-69d9c68e705afa7a4008feb9bbeb19cea887ed47.tar.xz
Move core/fpdfapi/fpdf_render to core/fpdfapi/render
BUG=pdfium:603 Review-Url: https://codereview.chromium.org/2393593002
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/cpdf_pagerendercontext.cpp6
-rw-r--r--core/fpdfapi/page/cpdf_generalstate.cpp2
-rw-r--r--core/fpdfapi/page/cpdf_image.cpp4
-rw-r--r--core/fpdfapi/page/cpdf_page.cpp2
-rw-r--r--core/fpdfapi/parser/cpdf_document.cpp2
-rw-r--r--core/fpdfapi/render/cpdf_pagerendercache.h (renamed from core/fpdfapi/fpdf_render/cpdf_pagerendercache.h)6
-rw-r--r--core/fpdfapi/render/cpdf_progressiverenderer.h (renamed from core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h)8
-rw-r--r--core/fpdfapi/render/cpdf_rendercontext.h (renamed from core/fpdfapi/fpdf_render/cpdf_rendercontext.h)6
-rw-r--r--core/fpdfapi/render/cpdf_renderoptions.h (renamed from core/fpdfapi/fpdf_render/cpdf_renderoptions.h)6
-rw-r--r--core/fpdfapi/render/cpdf_textrenderer.h (renamed from core/fpdfapi/fpdf_render/cpdf_textrenderer.h)6
-rw-r--r--core/fpdfapi/render/cpdf_type3cache.cpp (renamed from core/fpdfapi/fpdf_render/cpdf_type3cache.cpp)4
-rw-r--r--core/fpdfapi/render/cpdf_type3cache.h (renamed from core/fpdfapi/fpdf_render/cpdf_type3cache.h)6
-rw-r--r--core/fpdfapi/render/cpdf_type3glyphs.cpp (renamed from core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp)2
-rw-r--r--core/fpdfapi/render/cpdf_type3glyphs.h (renamed from core/fpdfapi/fpdf_render/cpdf_type3glyphs.h)6
-rw-r--r--core/fpdfapi/render/fpdf_render.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render.cpp)12
-rw-r--r--core/fpdfapi/render/fpdf_render_cache.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_cache.cpp)6
-rw-r--r--core/fpdfapi/render/fpdf_render_image.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_image.cpp)8
-rw-r--r--core/fpdfapi/render/fpdf_render_loadimage.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp)4
-rw-r--r--core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp)0
-rw-r--r--core/fpdfapi/render/fpdf_render_pattern.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp)6
-rw-r--r--core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp)0
-rw-r--r--core/fpdfapi/render/fpdf_render_text.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_text.cpp)8
-rw-r--r--core/fpdfapi/render/render_int.h (renamed from core/fpdfapi/fpdf_render/render_int.h)8
23 files changed, 59 insertions, 59 deletions
diff --git a/core/fpdfapi/cpdf_pagerendercontext.cpp b/core/fpdfapi/cpdf_pagerendercontext.cpp
index dc5836262e..91ebc5e7b7 100644
--- a/core/fpdfapi/cpdf_pagerendercontext.cpp
+++ b/core/fpdfapi/cpdf_pagerendercontext.cpp
@@ -6,9 +6,9 @@
#include "core/fpdfapi/cpdf_pagerendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_progressiverenderer.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_annotlist.h"
#include "core/fpdfdoc/cpdf_occontext.h"
#include "core/fxge/cfx_renderdevice.h"
diff --git a/core/fpdfapi/page/cpdf_generalstate.cpp b/core/fpdfapi/page/cpdf_generalstate.cpp
index 4feaaffc6c..e8be18e2fa 100644
--- a/core/fpdfapi/page/cpdf_generalstate.cpp
+++ b/core/fpdfapi/page/cpdf_generalstate.cpp
@@ -6,8 +6,8 @@
#include "core/fpdfapi/page/cpdf_generalstate.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/render_int.h"
namespace {
diff --git a/core/fpdfapi/page/cpdf_image.cpp b/core/fpdfapi/page/cpdf_image.cpp
index 9ff99689fd..ae962e8b98 100644
--- a/core/fpdfapi/page/cpdf_image.cpp
+++ b/core/fpdfapi/page/cpdf_image.cpp
@@ -11,14 +11,14 @@
#include <vector>
#include "core/fpdfapi/cpdf_modulemgr.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_boolean.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_string.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/render_int.h"
#include "core/fxcodec/fx_codec.h"
#include "core/fxge/fx_dib.h"
diff --git a/core/fpdfapi/page/cpdf_page.cpp b/core/fpdfapi/page/cpdf_page.cpp
index 27d54b2748..89d0b35f3e 100644
--- a/core/fpdfapi/page/cpdf_page.cpp
+++ b/core/fpdfapi/page/cpdf_page.cpp
@@ -9,12 +9,12 @@
#include <set>
#include "core/fpdfapi/cpdf_pagerendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_object.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
#include "third_party/base/stl_util.h"
CPDF_Page::CPDF_Page(CPDF_Document* pDocument,
diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp
index bf6439cc8c..435f180454 100644
--- a/core/fpdfapi/parser/cpdf_document.cpp
+++ b/core/fpdfapi/parser/cpdf_document.cpp
@@ -12,7 +12,6 @@
#include "core/fpdfapi/cpdf_modulemgr.h"
#include "core/fpdfapi/font/cpdf_fontencoding.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/page/cpdf_pagemodule.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
@@ -20,6 +19,7 @@
#include "core/fpdfapi/parser/cpdf_parser.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
+#include "core/fpdfapi/render/render_int.h"
#include "core/fxcodec/JBig2_DocumentContext.h"
#include "core/fxge/cfx_unicodeencoding.h"
#include "core/fxge/fx_font.h"
diff --git a/core/fpdfapi/fpdf_render/cpdf_pagerendercache.h b/core/fpdfapi/render/cpdf_pagerendercache.h
index fda448f7db..37d092062d 100644
--- a/core/fpdfapi/fpdf_render/cpdf_pagerendercache.h
+++ b/core/fpdfapi/render/cpdf_pagerendercache.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCACHE_H_
+#define CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCACHE_H_
#include <map>
@@ -68,4 +68,4 @@ class CPDF_PageRenderCache {
FX_BOOL m_bCurFindCache;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCACHE_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h b/core/fpdfapi/render/cpdf_progressiverenderer.h
index a488269d8d..2cf84e97f3 100644
--- a/core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h
+++ b/core/fpdfapi/render/cpdf_progressiverenderer.h
@@ -4,13 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_PROGRESSIVERENDERER_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_PROGRESSIVERENDERER_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_PROGRESSIVERENDERER_H_
+#define CORE_FPDFAPI_RENDER_CPDF_PROGRESSIVERENDERER_H_
#include <memory>
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
#include "core/fpdfapi/page/cpdf_pageobjectlist.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_system.h"
@@ -59,4 +59,4 @@ class CPDF_ProgressiveRenderer {
CPDF_PageObjectList::iterator m_LastObjectRendered;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_PROGRESSIVERENDERER_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_PROGRESSIVERENDERER_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_rendercontext.h b/core/fpdfapi/render/cpdf_rendercontext.h
index 5d0845789f..676b89a4f4 100644
--- a/core/fpdfapi/fpdf_render/cpdf_rendercontext.h
+++ b/core/fpdfapi/render/cpdf_rendercontext.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDERCONTEXT_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDERCONTEXT_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_RENDERCONTEXT_H_
+#define CORE_FPDFAPI_RENDER_CPDF_RENDERCONTEXT_H_
#include "core/fxcrt/fx_basic.h"
#include "core/fxcrt/fx_coordinates.h"
@@ -64,4 +64,4 @@ class CPDF_RenderContext {
CFX_ArrayTemplate<Layer> m_Layers;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDERCONTEXT_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_RENDERCONTEXT_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_renderoptions.h b/core/fpdfapi/render/cpdf_renderoptions.h
index bb0bcd3651..95651d9d7f 100644
--- a/core/fpdfapi/fpdf_render/cpdf_renderoptions.h
+++ b/core/fpdfapi/render/cpdf_renderoptions.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDEROPTIONS_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDEROPTIONS_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
+#define CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
#include "core/fxcrt/fx_system.h"
#include "core/fxge/fx_dib.h"
@@ -51,4 +51,4 @@ class CPDF_RenderOptions {
bool m_bDrawAnnots;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDEROPTIONS_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_textrenderer.h b/core/fpdfapi/render/cpdf_textrenderer.h
index b758a01570..a179fd7c8c 100644
--- a/core/fpdfapi/fpdf_render/cpdf_textrenderer.h
+++ b/core/fpdfapi/render/cpdf_textrenderer.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TEXTRENDERER_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_TEXTRENDERER_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
+#define CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_string.h"
@@ -57,4 +57,4 @@ class CPDF_TextRenderer {
const CPDF_RenderOptions* pOptions);
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TEXTRENDERER_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp b/core/fpdfapi/render/cpdf_type3cache.cpp
index 1891a8d2d0..7fe552108d 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp
+++ b/core/fpdfapi/render/cpdf_type3cache.cpp
@@ -4,14 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
+#include "core/fpdfapi/render/cpdf_type3cache.h"
#include <map>
#include <memory>
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/font/cpdf_type3font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h"
+#include "core/fpdfapi/render/cpdf_type3glyphs.h"
#include "core/fxge/fx_dib.h"
#include "core/fxge/fx_font.h"
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3cache.h b/core/fpdfapi/render/cpdf_type3cache.h
index ea4b5a1408..f74a43acc5 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3cache.h
+++ b/core/fpdfapi/render/cpdf_type3cache.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3CACHE_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3CACHE_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
+#define CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
#include <map>
@@ -37,4 +37,4 @@ class CPDF_Type3Cache {
std::map<CFX_ByteString, CPDF_Type3Glyphs*> m_SizeMap;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3CACHE_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp b/core/fpdfapi/render/cpdf_type3glyphs.cpp
index e811c2bd8c..189fc2439d 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp
+++ b/core/fpdfapi/render/cpdf_type3glyphs.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h"
+#include "core/fpdfapi/render/cpdf_type3glyphs.h"
#include <map>
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.h b/core/fpdfapi/render/cpdf_type3glyphs.h
index c88d179b8b..00814d5b3b 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.h
+++ b/core/fpdfapi/render/cpdf_type3glyphs.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
+#define CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
#include <map>
@@ -32,4 +32,4 @@ class CPDF_Type3Glyphs {
int m_BottomBlueCount;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
diff --git a/core/fpdfapi/fpdf_render/fpdf_render.cpp b/core/fpdfapi/render/fpdf_render.cpp
index ff300f6090..5feeae8f53 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render.cpp
+++ b/core/fpdfapi/render/fpdf_render.cpp
@@ -4,18 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <memory>
#include "core/fpdfapi/cpdf_modulemgr.h"
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/font/cpdf_type3font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
-#include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_formobject.h"
#include "core/fpdfapi/page/cpdf_graphicstates.h"
@@ -29,6 +24,11 @@
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/cpdf_progressiverenderer.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_textrenderer.h"
+#include "core/fpdfapi/render/cpdf_type3cache.h"
#include "core/fpdfdoc/cpdf_occontext.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_graphstatedata.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_cache.cpp b/core/fpdfapi/render/fpdf_render_cache.cpp
index 08d749d5a2..67dd953752 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_cache.cpp
+++ b/core/fpdfapi/render/fpdf_render_cache.cpp
@@ -4,13 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/render_int.h"
struct CACHEINFO {
uint32_t time;
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_image.cpp b/core/fpdfapi/render/fpdf_render_image.cpp
index d5a28a6019..766eb950fe 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_image.cpp
+++ b/core/fpdfapi/render/fpdf_render_image.cpp
@@ -4,15 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <memory>
#include <utility>
#include <vector>
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_image.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
@@ -23,6 +20,9 @@
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_occontext.h"
#include "core/fxcodec/fx_codec.h"
#include "core/fxcrt/fx_safe_types.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/fpdfapi/render/fpdf_render_loadimage.cpp
index ef4074ff15..0a4579e45e 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
+++ b/core/fpdfapi/render/fpdf_render_loadimage.cpp
@@ -4,20 +4,20 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <algorithm>
#include <memory>
#include <vector>
#include "core/fpdfapi/cpdf_modulemgr.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
#include "core/fpdfapi/page/cpdf_image.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
#include "core/fxcodec/fx_codec.h"
#include "core/fxcrt/fx_safe_types.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp b/core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp
index 5c6a8c513f..5c6a8c513f 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp
+++ b/core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp b/core/fpdfapi/render/fpdf_render_pattern.cpp
index 4bd712e7eb..dfb5669d8f 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
+++ b/core/fpdfapi/render/fpdf_render_pattern.cpp
@@ -4,12 +4,10 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <algorithm>
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_graphicstates.h"
#include "core/fpdfapi/page/cpdf_meshstream.h"
@@ -21,6 +19,8 @@
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_pathdata.h"
#include "core/fxge/cfx_renderdevice.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp b/core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp
index 176c923372..176c923372 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp
+++ b/core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/fpdfapi/render/fpdf_render_text.cpp
index 316cbff3a6..67bb2376b1 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp
+++ b/core/fpdfapi/render/fpdf_render_text.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <vector>
@@ -12,9 +12,6 @@
#include "core/fpdfapi/font/cpdf_font.h"
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/font/cpdf_type3font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
-#include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
@@ -23,6 +20,9 @@
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_textrenderer.h"
+#include "core/fpdfapi/render/cpdf_type3cache.h"
#include "core/fxge/cfx_facecache.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_gemodule.h"
diff --git a/core/fpdfapi/fpdf_render/render_int.h b/core/fpdfapi/render/render_int.h
index aa82a9f53c..9c5a7e919b 100644
--- a/core/fpdfapi/fpdf_render/render_int.h
+++ b/core/fpdfapi/render/render_int.h
@@ -4,18 +4,18 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
-#define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
+#ifndef CORE_FPDFAPI_RENDER_RENDER_INT_H_
+#define CORE_FPDFAPI_RENDER_RENDER_INT_H_
#include <map>
#include <memory>
#include <vector>
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_clippath.h"
#include "core/fpdfapi/page/cpdf_countedobject.h"
#include "core/fpdfapi/page/cpdf_graphicstates.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_renderdevice.h"
@@ -593,4 +593,4 @@ class CPDF_DIBTransferFunc : public CFX_FilteredDIB {
const uint8_t* m_RampB;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
+#endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_