Index: pdf/out_of_process_instance.cc |
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc |
index 6f1b23d372c5b804a5d67e1c35c698d477442cad..bfbcb93bc1255db0cab0cf177703ca89f1ed25c9 100644 |
--- a/pdf/out_of_process_instance.cc |
+++ b/pdf/out_of_process_instance.cc |
@@ -906,6 +906,7 @@ void OutOfProcessInstance::NotifyNumberOfFindResultsChanged(int total, |
void OutOfProcessInstance::NotifySelectedFindResultChanged( |
int current_find_index) { |
+ DCHECK_GE(current_find_index, 0); |
SelectedFindResultChanged(current_find_index); |
} |