| Index: chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsRecyclerView.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsRecyclerView.java b/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsRecyclerView.java
|
| index 672e674e8ba65f226a5d6841b8f2b0e107e1002e..3f3a311e524d8c1877529d59c6c689a7710347fc 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsRecyclerView.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsRecyclerView.java
|
| @@ -17,6 +17,7 @@ import android.support.v7.view.ContextThemeWrapper;
|
| import android.support.v7.widget.LinearLayoutManager;
|
| import android.support.v7.widget.RecyclerView;
|
| import android.support.v7.widget.helper.ItemTouchHelper;
|
| +import android.util.AttributeSet;
|
| import android.view.GestureDetector;
|
| import android.view.MotionEvent;
|
| import android.view.View;
|
| @@ -74,7 +75,11 @@ public class SuggestionsRecyclerView extends RecyclerView implements TouchDisabl
|
| private boolean mTouchEnabled = true;
|
|
|
| public SuggestionsRecyclerView(Context context) {
|
| - super(new ContextThemeWrapper(context, R.style.NewTabPageRecyclerView));
|
| + this(context, null);
|
| + }
|
| +
|
| + public SuggestionsRecyclerView(Context context, AttributeSet attrs) {
|
| + super(new ContextThemeWrapper(context, R.style.NewTabPageRecyclerView), attrs);
|
|
|
| Resources res = getContext().getResources();
|
| setBackgroundColor(ApiCompatibilityUtils.getColor(res, R.color.ntp_bg));
|
|
|