summaryrefslogtreecommitdiff
path: root/fxjs/cfxjs_engine.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-12 19:07:03 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 19:07:03 +0000
commit35d4587eceb07cad6b38675b0ebb4b73eca3a62b (patch)
tree19c84b514dad085d75c76977f1ee9da123748441 /fxjs/cfxjs_engine.h
parent8460088891f98a9138718fc9c89bf309eb88580f (diff)
downloadpdfium-35d4587eceb07cad6b38675b0ebb4b73eca3a62b.tar.xz
Remove more unnecessary includes and do IWYU as needed.
Also move some implementations out of headers. Change-Id: I321fc26970c440d874b135bd28e8bc8156b9afee Reviewed-on: https://pdfium-review.googlesource.com/c/43890 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjs_engine.h')
-rw-r--r--fxjs/cfxjs_engine.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fxjs/cfxjs_engine.h b/fxjs/cfxjs_engine.h
index 63c6732791..0ee4fe5bf4 100644
--- a/fxjs/cfxjs_engine.h
+++ b/fxjs/cfxjs_engine.h
@@ -22,7 +22,6 @@
#include "core/fxcrt/fx_string.h"
#include "fxjs/cfx_v8.h"
#include "fxjs/ijs_runtime.h"
-#include "third_party/base/stl_util.h"
#include "v8/include/v8-util.h"
#include "v8/include/v8.h"
@@ -52,9 +51,7 @@ class FXJS_PerIsolateData {
static void SetUp(v8::Isolate* pIsolate);
static FXJS_PerIsolateData* Get(v8::Isolate* pIsolate);
- int MaxObjDefinitionID() const {
- return pdfium::CollectionSize<int>(m_ObjectDefnArray);
- }
+ int MaxObjDefinitionID() const;
CFXJS_ObjDefinition* ObjDefinitionForID(int id) const;
int AssignIDForObjDefinition(std::unique_ptr<CFXJS_ObjDefinition> pDefn);