| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
|
| index 4e4e4f27bf3443a4c4e2cdb0d0a9854acecf4342..edd97047d4c9470b32f2f29600d2ee0daeb9b40c 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
|
| @@ -20,7 +20,6 @@ import java.util.List;
|
| */
|
| public class SuggestionsSection implements ItemGroup {
|
| private final List<SnippetArticleListItem> mSuggestions = new ArrayList<>();
|
| - private final SuggestionsCategoryInfo mInfo;
|
| private final SnippetHeaderListItem mHeader;
|
| private StatusListItem mStatus;
|
| private final ProgressListItem mProgressIndicator = new ProgressListItem();
|
| @@ -29,8 +28,8 @@ public class SuggestionsSection implements ItemGroup {
|
| public SuggestionsSection(int category, List<SnippetArticleListItem> suggestions,
|
| @CategoryStatusEnum int status, SuggestionsCategoryInfo info,
|
| NewTabPageAdapter adapter) {
|
| - mInfo = info;
|
| - mHeader = new SnippetHeaderListItem(mInfo.getTitle());
|
| +
|
| + mHeader = new SnippetHeaderListItem(info.getTitle());
|
| // TODO(pke): Replace the condition with "info.hasMoreButton()" once all other categories
|
| // are supported by the C++ backend, too.
|
| // Right now, we hard-code all the sections that are handled in ActionListItem.
|
|
|