Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: pdf/pdfium/pdfium_engine.h

Issue 2645813007: PDF: Fix a failing find-in-page corner case. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index 3a525dcaaf47cd3fe71ff80b87bfd6eecbd9e734..43ea580d8fe6acf9da60a40798fc957159144ae5 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -274,7 +274,7 @@ class PDFiumEngine : public PDFEngine,
// Called to continue searching so we don't block the main thread.
void ContinueFind(int32_t result);
- // Inserts a find result into find_results_, which is sorted.
+ // Inserts a find result into |find_results_|, which is sorted.
void AddFindResult(const PDFiumRange& result);
// Search a page using PDFium's methods. Doesn't work with unicode. This
@@ -644,8 +644,7 @@ class PDFiumEngine : public PDFEngine,
MouseDownState mouse_down_state_;
// Used for searching.
- typedef std::vector<PDFiumRange> FindResults;
- FindResults find_results_;
+ std::vector<PDFiumRange> find_results_;
// Which page to search next.
int next_page_to_search_;
// Where to stop searching.
« no previous file with comments | « no previous file | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698