Chromium Code Reviews| Index: pdf/instance.cc |
| diff --git a/pdf/instance.cc b/pdf/instance.cc |
| index 4bd2f787dfec69d80534de5f9686dc5e619f32b9..e187378b90d730966242ee105b397af744d13886 100644 |
| --- a/pdf/instance.cc |
| +++ b/pdf/instance.cc |
| @@ -1285,6 +1285,7 @@ void Instance::NotifyNumberOfFindResultsChanged(int total, bool final_result) { |
| } |
| void Instance::NotifySelectedFindResultChanged(int current_find_index) { |
| + DCHECK_GE(current_find_index, 0); |
| SelectedFindResultChanged(current_find_index); |
| } |