diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-04 23:01:00 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-04 23:01:00 +0000 |
commit | c38c9d15f18c2b883df6e29f2364d05699b87d53 (patch) | |
tree | 9c9c3e133edf40d820acb4e96aec394224d87668 /fxjs | |
parent | 30540a95637256412eab3e87f954ee2b9793678f (diff) | |
download | pdfium-c38c9d15f18c2b883df6e29f2364d05699b87d53.tar.xz |
Refer to const smart pointers consistently.
SmartPtr<T> const m_Ptr, instead of const SmartPtr<T> m_Ptr.
Change-Id: I8001b0334543f49d138a24438def62088a15c6e4
Reviewed-on: https://pdfium-review.googlesource.com/c/43512
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cfxjse_engine.h | 2 | ||||
-rw-r--r-- | fxjs/cfxjse_resolveprocessor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cfxjse_engine.h b/fxjs/cfxjse_engine.h index a766e268a4..183074d70a 100644 --- a/fxjs/cfxjse_engine.h +++ b/fxjs/cfxjse_engine.h @@ -118,7 +118,7 @@ class CFXJSE_Engine final : public CFX_V8 { // CacheList holds the List items so we can clean them up when we're done. std::vector<std::unique_ptr<CXFA_List>> m_CacheList; UnownedPtr<std::vector<CXFA_Node*>> m_pScriptNodeArray; - const std::unique_ptr<CFXJSE_ResolveProcessor> m_ResolveProcessor; + std::unique_ptr<CFXJSE_ResolveProcessor> const m_ResolveProcessor; std::unique_ptr<CFXJSE_FormCalcContext> m_FM2JSContext; UnownedPtr<CXFA_Object> m_pThisObject; XFA_AttributeEnum m_eRunAtType = XFA_AttributeEnum::Client; diff --git a/fxjs/cfxjse_resolveprocessor.h b/fxjs/cfxjse_resolveprocessor.h index dea7abdc5b..2a98bc9b2a 100644 --- a/fxjs/cfxjse_resolveprocessor.h +++ b/fxjs/cfxjse_resolveprocessor.h @@ -71,7 +71,7 @@ class CFXJSE_ResolveProcessor { void FilterCondition(CFXJSE_ResolveNodeData& rnd, WideString wsCondition); int32_t m_iCurStart = 0; - const std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper; + std::unique_ptr<CXFA_NodeHelper> const m_pNodeHelper; }; #endif // FXJS_CFXJSE_RESOLVEPROCESSOR_H_ |