Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton committed Oct 4, 2019
1 parent 201436c commit 3c2807c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ std::vector<const PrepopulatedEngine*> GetEnginesFromEngineIDs(
DCHECK(engine);
if (engine) {
engines.push_back(engine);
if (default_search_provider_index && default_engine_id == engine_ids.at(i))
if (default_search_provider_index &&
default_engine_id == engine_ids.at(i))
*default_search_provider_index = i;
}
}
Expand Down

0 comments on commit 3c2807c

Please sign in to comment.