From c38c9d15f18c2b883df6e29f2364d05699b87d53 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 4 Oct 2018 23:01:00 +0000 Subject: Refer to const smart pointers consistently. SmartPtr const m_Ptr, instead of const SmartPtr m_Ptr. Change-Id: I8001b0334543f49d138a24438def62088a15c6e4 Reviewed-on: https://pdfium-review.googlesource.com/c/43512 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- fxjs/cfxjse_engine.h | 2 +- fxjs/cfxjse_resolveprocessor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fxjs') 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> m_CacheList; UnownedPtr> m_pScriptNodeArray; - const std::unique_ptr m_ResolveProcessor; + std::unique_ptr const m_ResolveProcessor; std::unique_ptr m_FM2JSContext; UnownedPtr 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 m_pNodeHelper; + std::unique_ptr const m_pNodeHelper; }; #endif // FXJS_CFXJSE_RESOLVEPROCESSOR_H_ -- cgit v1.2.3