summaryrefslogtreecommitdiff
path: root/core/fpdftext/cpdf_textpagefind.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-23 16:18:28 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-24 01:28:39 +0000
commit033e565d8244953afe8eab3d0c7ee1ed9863c921 (patch)
tree410cbe152379180ff2fd3411b289be6fa31e3c82 /core/fpdftext/cpdf_textpagefind.cpp
parent655c783b8077f18e17418a3aab9b5a07c8055049 (diff)
downloadpdfium-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.cpp')
-rw-r--r--core/fpdftext/cpdf_textpagefind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdftext/cpdf_textpagefind.cpp b/core/fpdftext/cpdf_textpagefind.cpp
index a4f4a6e828..058c293ac1 100644
--- a/core/fpdftext/cpdf_textpagefind.cpp
+++ b/core/fpdftext/cpdf_textpagefind.cpp
@@ -237,7 +237,7 @@ bool CPDF_TextPageFind::FindPrev() {
m_IsFind = false;
return m_IsFind;
}
- CPDF_TextPageFind findEngine(m_pTextPage);
+ CPDF_TextPageFind findEngine(m_pTextPage.Get());
bool ret = findEngine.FindFirst(m_findWhat, m_flags);
if (!ret) {
m_IsFind = false;