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

Unified Diff: webkit/glue/webframe_impl.h

Issue 13130: Fix issue 5079: Incorrect "Active match ordinal" count during Find-in-page... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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
Index: webkit/glue/webframe_impl.h
===================================================================
--- webkit/glue/webframe_impl.h (revision 6273)
+++ webkit/glue/webframe_impl.h (working copy)
@@ -336,7 +336,7 @@
RefPtr<WebCore::Range> active_match_;
// The index of the active match.
- size_t active_match_index_;
+ int active_match_index_;
// This flag is used by the scoping effort to determine if we need to figure
// out which rectangle is the active match. Once we find the active
@@ -357,7 +357,7 @@
// don't loose count between scoping efforts, and is also used (in conjunction
// with last_search_string_ and scoping_complete_) to figure out if we need to
// search the frame again.
- size_t last_match_count_;
+ int last_match_count_;
// This variable keeps a cumulative total of matches found so far for ALL the
// frames on the page, and is only incremented by calling IncreaseMatchCount
@@ -375,7 +375,7 @@
// Keeps track of when the scoping effort should next invalidate the scrollbar
// and the frame area.
- size_t next_invalidate_after_;
+ int next_invalidate_after_;
private:
// A bit mask specifying area of the frame to invalidate.

Powered by Google App Engine
This is Rietveld 408576698