| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java
|
| index 94580276b8c64d4e7022c849ead4aa94a5bac506..8ec5852a1739efa89ae313954c2ac71b792e145a 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java
|
| @@ -36,12 +36,6 @@
|
| /** The score expressing relative quality of the article for the user. */
|
| public final float mScore;
|
|
|
| - /** The position of this article within its section. */
|
| - public final int mPosition;
|
| -
|
| - /** The position of this article in the complete list. Populated by NewTabPageAdapter. */
|
| - public int mGlobalPosition = -1;
|
| -
|
| /** Bitmap of the thumbnail, fetched lazily, when the RecyclerView wants to show the snippet. */
|
| private Bitmap mThumbnailBitmap;
|
|
|
| @@ -70,7 +64,7 @@
|
| * Creates a SnippetArticleListItem object that will hold the data.
|
| */
|
| public SnippetArticle(int category, String idWithinCategory, String title, String publisher,
|
| - String previewText, String url, long timestamp, float score, int position) {
|
| + String previewText, String url, long timestamp, float score) {
|
| mCategory = category;
|
| mIdWithinCategory = idWithinCategory;
|
| mTitle = title;
|
| @@ -79,7 +73,6 @@ public SnippetArticle(int category, String idWithinCategory, String title, Strin
|
| mUrl = url;
|
| mPublishTimestampMilliseconds = timestamp;
|
| mScore = score;
|
| - mPosition = position;
|
| }
|
|
|
| @Override
|
|
|