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 ad5f3394d05626b67b632e1005b0c57e146132c7..4ae471ac93ffe1c9d18f7d7c785aa58be482e95d 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,8 +347,8 @@ private SuggestionsSection createSectionWithReloadAction(boolean hasReloadAction |
} |
private SuggestionsSection createSection(SuggestionsCategoryInfo info) { |
- SuggestionsSection section = new SuggestionsSection(mParent, mManager, mBridge, info); |
- section.init(); |
+ SuggestionsSection section = new SuggestionsSection(mManager, mBridge, info); |
+ section.setParent(mParent); |
return section; |
} |