Index: chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java |
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java |
index 8759db0260fd0857464df4519998202982dd5e04..ad5f3394d05626b67b632e1005b0c57e146132c7 100644 |
--- a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java |
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java |
@@ -347,7 +347,9 @@ public class SuggestionsSectionTest { |
} |
private SuggestionsSection createSection(SuggestionsCategoryInfo info) { |
- return new SuggestionsSection(mParent, info, mManager, mBridge); |
+ SuggestionsSection section = new SuggestionsSection(mParent, mManager, mBridge, info); |
+ section.init(); |
+ return section; |
} |
private OfflinePageItem createOfflinePageItem(String url, long offlineId) { |