summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-09-16 11:00:38 -0700
committerTom Sepez <tsepez@chromium.org>2015-09-16 11:00:38 -0700
commit455019ca48f60bd285e043986471f51f17c69a0d (patch)
tree3b349d6f8fca6228d56d9a35848135762b02c0d1 /fpdfsdk
parent506df426d5d64d68e9dc27ffebcf56f6c6a1bccf (diff)
downloadpdfium-455019ca48f60bd285e043986471f51f17c69a0d.tar.xz
Fix build broken at 506df426d5d6.
Move header file includes when usage moved. Windows-only section missing a ")". TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1349783003 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/src/javascript/JS_Value.cpp4
-rw-r--r--fpdfsdk/src/javascript/global.cpp2
-rw-r--r--fpdfsdk/src/jsapi/fxjs_v8.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/src/javascript/JS_Value.cpp b/fpdfsdk/src/javascript/JS_Value.cpp
index 3b8f597e96..23def5dc9c 100644
--- a/fpdfsdk/src/javascript/JS_Value.cpp
+++ b/fpdfsdk/src/javascript/JS_Value.cpp
@@ -4,6 +4,10 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include <time.h>
+#include <cmath>
+#include <limits>
+
#include "../../include/javascript/JavaScript.h"
#include "../../include/javascript/JS_Define.h"
#include "../../include/javascript/JS_Object.h"
diff --git a/fpdfsdk/src/javascript/global.cpp b/fpdfsdk/src/javascript/global.cpp
index af517c0065..51455d0cfa 100644
--- a/fpdfsdk/src/javascript/global.cpp
+++ b/fpdfsdk/src/javascript/global.cpp
@@ -71,7 +71,7 @@ HashVerify::HashVerify() {
ASSERT(JSCONST_nObjectHash == JS_CalcHash(kFXJSValueNameObject));
ASSERT(JSCONST_nFXobjHash == JS_CalcHash(kFXJSValueNameFxobj));
ASSERT(JSCONST_nNullHash == JS_CalcHash(kFXJSValueNameNull));
- ASSERT(JSCONST_nUndefHash == JS_CalcHash(kFXJSValueNameUndefined);
+ ASSERT(JSCONST_nUndefHash == JS_CalcHash(kFXJSValueNameUndefined));
}
#endif
diff --git a/fpdfsdk/src/jsapi/fxjs_v8.cpp b/fpdfsdk/src/jsapi/fxjs_v8.cpp
index 2fe6e44264..2c17628dbc 100644
--- a/fpdfsdk/src/jsapi/fxjs_v8.cpp
+++ b/fpdfsdk/src/jsapi/fxjs_v8.cpp
@@ -4,10 +4,6 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include <time.h>
-#include <cmath>
-#include <limits>
-
#include "../../../core/include/fxcrt/fx_basic.h"
#include "../../include/fsdk_define.h"
#include "../../include/jsapi/fxjs_v8.h"