Chromium Code Reviews| Index: ios/chrome/browser/ui/ntp/google_landing_mediator.mm |
| diff --git a/ios/chrome/browser/ui/ntp/google_landing_mediator.mm b/ios/chrome/browser/ui/ntp/google_landing_mediator.mm |
| index 47ae5c43e87f33a41bef14c82233d5e9dc833fc3..46028db36b0af43160b887b8a39893e8b3003911 100644 |
| --- a/ios/chrome/browser/ui/ntp/google_landing_mediator.mm |
| +++ b/ios/chrome/browser/ui/ntp/google_landing_mediator.mm |
| @@ -383,11 +383,7 @@ void SearchEngineObserver::OnTemplateURLServiceChanged() { |
| #pragma mark - Private |
| - (void)useFreshData { |
|
justincohen
2017/06/06 15:47:34
Did we also want a DCHECK to confirm that |freshMo
gambard
2017/06/06 16:19:23
It seems complicated for a little gain in my opini
|
| - if (self.freshMostVisitedData.size() == 0) { |
| - return; |
| - } |
| _mostVisitedData = self.freshMostVisitedData; |
| - self.freshMostVisitedData.clear(); |
| [self.consumer mostVisitedDataUpdated]; |
| } |