Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: fpdfsdk/javascript/JS_Object.h

Issue 1835693002: Remove FX_DWORD from fpdfsdk/ and testing/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/javascript/JS_GlobalData.cpp ('k') | fpdfsdk/javascript/JS_Object.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/javascript/JS_Object.h
diff --git a/fpdfsdk/javascript/JS_Object.h b/fpdfsdk/javascript/JS_Object.h
index 983b71374410e5a863528b71a2f06e36f31bc279..da15199e340fb292e3831f4cb0141899491052a6 100644
--- a/fpdfsdk/javascript/JS_Object.h
+++ b/fpdfsdk/javascript/JS_Object.h
@@ -80,14 +80,14 @@ class CJS_Timer : public CJS_Runtime::Observer {
CJS_Runtime* pRuntime,
int nType,
const CFX_WideString& script,
- FX_DWORD dwElapse,
- FX_DWORD dwTimeOut);
+ uint32_t dwElapse,
+ uint32_t dwTimeOut);
~CJS_Timer() override;
void KillJSTimer();
int GetType() const { return m_nType; }
- FX_DWORD GetTimeOut() const { return m_dwTimeOut; }
+ uint32_t GetTimeOut() const { return m_dwTimeOut; }
CJS_Runtime* GetRuntime() const { return m_bValid ? m_pRuntime : nullptr; }
CFX_WideString GetJScript() const { return m_swJScript; }
@@ -100,14 +100,14 @@ class CJS_Timer : public CJS_Runtime::Observer {
// CJS_Runtime::Observer
void OnDestroyed() override;
- FX_DWORD m_nTimerID;
+ uint32_t m_nTimerID;
CJS_EmbedObj* const m_pEmbedObj;
bool m_bProcessing;
bool m_bValid;
// data
const int m_nType; // 0:Interval; 1:TimeOut
- const FX_DWORD m_dwTimeOut;
+ const uint32_t m_dwTimeOut;
const CFX_WideString m_swJScript;
CJS_Runtime* const m_pRuntime;
CPDFDoc_Environment* const m_pApp;
« no previous file with comments | « fpdfsdk/javascript/JS_GlobalData.cpp ('k') | fpdfsdk/javascript/JS_Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698