diff options
Diffstat (limited to 'fpdfsdk/javascript')
-rw-r--r-- | fpdfsdk/javascript/JS_EventHandler.h | 10 | ||||
-rw-r--r-- | fpdfsdk/javascript/JS_Object.h | 2 | ||||
-rw-r--r-- | fpdfsdk/javascript/JS_Runtime_Stub.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/javascript/JS_Value.h | 2 | ||||
-rw-r--r-- | fpdfsdk/javascript/cjs_event_context.h | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/fpdfsdk/javascript/JS_EventHandler.h b/fpdfsdk/javascript/JS_EventHandler.h index 8273b41cc5..6f10ba596c 100644 --- a/fpdfsdk/javascript/JS_EventHandler.h +++ b/fpdfsdk/javascript/JS_EventHandler.h @@ -7,9 +7,9 @@ #ifndef FPDFSDK_JAVASCRIPT_JS_EVENTHANDLER_H_ #define FPDFSDK_JAVASCRIPT_JS_EVENTHANDLER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_formfillenvironment.h" class CJS_EventContext; @@ -166,13 +166,13 @@ class CJS_EventHandler { JS_EVENT_T EventType() { return m_eEventType; } public: - CFX_UnownedPtr<CJS_EventContext> const m_pJSEventContext; + UnownedPtr<CJS_EventContext> const m_pJSEventContext; JS_EVENT_T m_eEventType; bool m_bValid; WideString m_strTargetName; WideString m_strSourceName; - CFX_UnownedPtr<WideString> m_pWideStrChange; + UnownedPtr<WideString> m_pWideStrChange; WideString m_WideStrChangeDu; WideString m_WideStrChangeEx; int m_nCommitKey; @@ -184,12 +184,12 @@ class CJS_EventHandler { int* m_pISelStart; int m_nSelStartDu; bool m_bWillCommit; - CFX_UnownedPtr<WideString> m_pValue; + UnownedPtr<WideString> m_pValue; bool m_bFieldFull; bool* m_pbRc; bool m_bRcDu; - CFX_UnownedPtr<CPDF_Bookmark> m_pTargetBookMark; + UnownedPtr<CPDF_Bookmark> m_pTargetBookMark; CPDFSDK_FormFillEnvironment::ObservedPtr m_pTargetFormFillEnv; CPDFSDK_Annot::ObservedPtr m_pTargetAnnot; }; diff --git a/fpdfsdk/javascript/JS_Object.h b/fpdfsdk/javascript/JS_Object.h index e32b8515b5..293b98acf6 100644 --- a/fpdfsdk/javascript/JS_Object.h +++ b/fpdfsdk/javascript/JS_Object.h @@ -26,7 +26,7 @@ class CJS_EmbedObj { CJS_Object* GetJSObject() const { return m_pJSObject.Get(); } protected: - CFX_UnownedPtr<CJS_Object> const m_pJSObject; + UnownedPtr<CJS_Object> const m_pJSObject; }; class CJS_Object { diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp index 068031f450..d25e257851 100644 --- a/fpdfsdk/javascript/JS_Runtime_Stub.cpp +++ b/fpdfsdk/javascript/JS_Runtime_Stub.cpp @@ -6,7 +6,7 @@ #include <memory> -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/javascript/ijs_event_context.h" #include "fpdfsdk/javascript/ijs_runtime.h" #include "third_party/base/ptr_util.h" @@ -152,7 +152,7 @@ class CJS_RuntimeStub final : public IJS_Runtime { } protected: - CFX_UnownedPtr<CPDFSDK_FormFillEnvironment> const m_pFormFillEnv; + UnownedPtr<CPDFSDK_FormFillEnvironment> const m_pFormFillEnv; std::unique_ptr<CJS_EventContextStub> m_pContext; }; diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h index 1d430ee06c..8c94ca742a 100644 --- a/fpdfsdk/javascript/JS_Value.h +++ b/fpdfsdk/javascript/JS_Value.h @@ -117,7 +117,7 @@ class CJS_PropValue { private: bool m_bIsSetting; CJS_Value m_Value; - CFX_UnownedPtr<CJS_Runtime> const m_pJSRuntime; + UnownedPtr<CJS_Runtime> const m_pJSRuntime; }; class CJS_Array { diff --git a/fpdfsdk/javascript/cjs_event_context.h b/fpdfsdk/javascript/cjs_event_context.h index a27bbd73af..e6ab94e4be 100644 --- a/fpdfsdk/javascript/cjs_event_context.h +++ b/fpdfsdk/javascript/cjs_event_context.h @@ -9,9 +9,9 @@ #include <memory> -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/javascript/ijs_event_context.h" class CJS_EventHandler; @@ -128,7 +128,7 @@ class CJS_EventContext : public IJS_EventContext { CPDFSDK_FormFillEnvironment* GetFormFillEnv(); private: - CFX_UnownedPtr<CJS_Runtime> const m_pRuntime; + UnownedPtr<CJS_Runtime> const m_pRuntime; std::unique_ptr<CJS_EventHandler> m_pEventHandler; bool m_bBusy; }; |