| Index: content/browser/download/mhtml_generation_browsertest.cc
|
| diff --git a/content/browser/download/mhtml_generation_browsertest.cc b/content/browser/download/mhtml_generation_browsertest.cc
|
| index 0dbc08b523a034ec014f02aebd3e3e7091b9ab64..0605115bccf62a4075a60d3dd2ceeeabe5cf8a0d 100644
|
| --- a/content/browser/download/mhtml_generation_browsertest.cc
|
| +++ b/content/browser/download/mhtml_generation_browsertest.cc
|
| @@ -64,8 +64,10 @@ class FindTrackingDelegate : public WebContentsDelegate {
|
| const gfx::Rect& selection_rect,
|
| int active_match_ordinal,
|
| bool final_update) override {
|
| - matches_ = number_of_matches;
|
| - run_loop_.Quit();
|
| + if (final_update) {
|
| + matches_ = number_of_matches;
|
| + run_loop_.Quit();
|
| + }
|
| }
|
|
|
| static int global_request_id;
|
|
|