Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java |
index 1c684de87cb65c57e9c9b7b0f14ca6c971080b89..c68445aa2662edf5604e7c147a5945ff9e40eaeb 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java |
@@ -14,20 +14,14 @@ |
* configuration that affects the NTP suggestions. |
*/ |
public abstract class StatusItem extends OptionalLeaf implements StatusCardViewHolder.DataSource { |
- |
- protected StatusItem(NodeParent parent) { |
- super(parent); |
- } |
- |
- public static StatusItem createNoSuggestionsItem(SuggestionsSection parentSection) { |
- return new NoSuggestionsItem(parentSection); |
+ public static StatusItem createNoSuggestionsItem(SuggestionsCategoryInfo categoryInfo) { |
+ return new NoSuggestionsItem(categoryInfo); |
} |
private static class NoSuggestionsItem extends StatusItem { |
private final String mDescription; |
- public NoSuggestionsItem(SuggestionsSection parentSection) { |
- super(parentSection); |
- mDescription = parentSection.getCategoryInfo().getNoSuggestionsMessage(); |
+ public NoSuggestionsItem(SuggestionsCategoryInfo categoryInfo) { |
+ mDescription = categoryInfo.getNoSuggestionsMessage(); |
} |
@Override |