| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
|
| index 040a14cf651b8d1e3e1f265394abd6a4d6a6bac8..f3b5c2d1d6183d546e5063a8b7f0b407e0802cbe 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
|
| @@ -22,10 +22,11 @@ import java.util.Calendar;
|
| * Displayed when all suggested content and their sections have been dismissed. Provides a button
|
| * to restore the dismissed sections and load new suggestions from the server.
|
| */
|
| -public class AllDismissedItem extends SingleItemGroup {
|
| +public class AllDismissedItem extends Leaf {
|
| @Override
|
| - public int getType() {
|
| - return NewTabPageItem.VIEW_TYPE_ALL_DISMISSED;
|
| + @ItemViewType
|
| + public int getItemViewType() {
|
| + return ItemViewType.ALL_DISMISSED;
|
| }
|
|
|
| @Override
|
| @@ -35,7 +36,7 @@ public class AllDismissedItem extends SingleItemGroup {
|
| }
|
|
|
| /**
|
| - * ViewHolder for an item of type {@link #VIEW_TYPE_ALL_DISMISSED}.
|
| + * ViewHolder for an item of type {@link ItemViewType#ALL_DISMISSED}.
|
| */
|
| public static class ViewHolder extends NewTabPageViewHolder {
|
| private final TextView mBodyTextView;
|
|
|