summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Context.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-06 07:50:47 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-06 07:50:47 -0700
commit5b3d0208723f21c50b9922bdc500c9d78c359a25 (patch)
treef381d6ee565cb981680a0e66d5f7c04efb9a22e8 /fpdfsdk/src/javascript/JS_Context.cpp
parent35902e725aa6cc83a317c3b6fdd1926b81b8e44b (diff)
downloadpdfium-5b3d0208723f21c50b9922bdc500c9d78c359a25.tar.xz
Make the vast majority of JS headers private to src/javascript.
The fpdfsdk/include/javascript/IJavascript.h is the sole API. This required moving a creaton method to it from JS_Runtime. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1389783002 .
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Context.cpp')
-rw-r--r--fpdfsdk/src/javascript/JS_Context.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/fpdfsdk/src/javascript/JS_Context.cpp b/fpdfsdk/src/javascript/JS_Context.cpp
index fc7d974395..b67096d9bc 100644
--- a/fpdfsdk/src/javascript/JS_Context.cpp
+++ b/fpdfsdk/src/javascript/JS_Context.cpp
@@ -4,11 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "JS_Context.h"
+
#include "../../include/javascript/IJavaScript.h"
-#include "../../include/javascript/JS_Context.h"
-#include "../../include/javascript/JS_EventHandler.h"
-#include "../../include/javascript/JS_Runtime.h"
-#include "../../include/javascript/resource.h"
+#include "JS_EventHandler.h"
+#include "JS_Runtime.h"
+#include "resource.h"
/* -------------------------- CJS_Context -------------------------- */