From aee0db0e6a12bdaacebeb8fb791f4e0d45e18a0d Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 21 Sep 2017 16:53:58 -0400 Subject: Move CFX_UnownedPtr to UnownedPtr This CL moves CFX_UnownedPtr to UnownedPtr and places in the fxcrt namespace. Bug: pdfium:898 Change-Id: I6d1fa463f365e5cb3aafa8c8a7a5f7eff62ed8e0 Reviewed-on: https://pdfium-review.googlesource.com/14620 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fde/cfde_texteditengine.cpp | 4 ++-- xfa/fde/cfde_texteditengine.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'xfa/fde') diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp index d54126f3c3..a240132ec0 100644 --- a/xfa/fde/cfde_texteditengine.cpp +++ b/xfa/fde/cfde_texteditengine.cpp @@ -38,7 +38,7 @@ class InsertOperation : public CFDE_TextEditEngine::Operation { } private: - CFX_UnownedPtr engine_; + UnownedPtr engine_; size_t start_idx_; WideString added_text_; }; @@ -63,7 +63,7 @@ class DeleteOperation : public CFDE_TextEditEngine::Operation { } private: - CFX_UnownedPtr engine_; + UnownedPtr engine_; size_t start_idx_; WideString removed_text_; }; diff --git a/xfa/fde/cfde_texteditengine.h b/xfa/fde/cfde_texteditengine.h index 7b739be711..43cfe0c0d3 100644 --- a/xfa/fde/cfde_texteditengine.h +++ b/xfa/fde/cfde_texteditengine.h @@ -49,7 +49,7 @@ class CFDE_TextEditEngine { bool IsEOF(bool bPrev) const; private: - CFX_UnownedPtr engine_; + UnownedPtr engine_; int32_t current_position_; }; @@ -200,7 +200,7 @@ class CFDE_TextEditEngine { }; CFX_RectF contents_bounding_box_; - CFX_UnownedPtr delegate_; + UnownedPtr delegate_; std::vector text_piece_info_; std::vector char_widths_; CFX_TxtBreak text_break_; -- cgit v1.2.3