diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-23 16:18:28 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-24 01:28:39 +0000 |
commit | 033e565d8244953afe8eab3d0c7ee1ed9863c921 (patch) | |
tree | 410cbe152379180ff2fd3411b289be6fa31e3c82 /core/fpdftext/cpdf_textpagefind.h | |
parent | 655c783b8077f18e17418a3aab9b5a07c8055049 (diff) | |
download | pdfium-033e565d8244953afe8eab3d0c7ee1ed9863c921.tar.xz |
Convert to CFX_UnownedPtr, part 5
Change-Id: Ibdb20fca7e4daae9d61286df4801ac02faf3b281
Reviewed-on: https://pdfium-review.googlesource.com/5831
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_textpagefind.h')
-rw-r--r-- | core/fpdftext/cpdf_textpagefind.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdftext/cpdf_textpagefind.h b/core/fpdftext/cpdf_textpagefind.h index dd509018bd..ed0620605a 100644 --- a/core/fpdftext/cpdf_textpagefind.h +++ b/core/fpdftext/cpdf_textpagefind.h @@ -9,6 +9,7 @@ #include <vector> +#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" @@ -40,7 +41,7 @@ class CPDF_TextPageFind { private: std::vector<uint16_t> m_CharIndex; - const CPDF_TextPage* m_pTextPage; + CFX_UnownedPtr<const CPDF_TextPage> m_pTextPage; CFX_WideString m_strText; CFX_WideString m_findWhat; int m_flags; |