summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fsdk_mgr.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/fsdk_mgr.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/fsdk_mgr.cpp')
-rw-r--r--fpdfsdk/src/fsdk_mgr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp
index 5b94aef600..6123dc8c9b 100644
--- a/fpdfsdk/src/fsdk_mgr.cpp
+++ b/fpdfsdk/src/fsdk_mgr.cpp
@@ -10,7 +10,6 @@
#include "../include/fsdk_mgr.h"
#include "../include/formfiller/FFL_FormFiller.h"
#include "../include/javascript/IJavaScript.h"
-#include "../include/javascript/JS_Runtime.h"
#if _FX_OS_ == _FX_ANDROID_
#include "time.h"
@@ -374,7 +373,7 @@ IFXJS_Runtime* CPDFDoc_Environment::GetJSRuntime() {
if (!IsJSInitiated())
return NULL;
if (!m_pJSRuntime)
- m_pJSRuntime.reset(new CJS_Runtime(this));
+ m_pJSRuntime.reset(IFXJS_Runtime::Create(this));
return m_pJSRuntime.get();
}