| Index: chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsBottomSheetContent.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsBottomSheetContent.java b/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsBottomSheetContent.java
|
| index 4ba7c542665b460ca227f9be17653561fce0a683..fec31e58678fb73f7d7f3c886b1b4f132cbca716 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsBottomSheetContent.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsBottomSheetContent.java
|
| @@ -100,7 +100,8 @@ public class SuggestionsBottomSheetContent implements BottomSheet.BottomSheetCon
|
| mRecyclerView.getScrollEventReporter().reset();
|
|
|
| if (ChromeFeatureList.isEnabled(
|
| - ChromeFeatureList.CONTEXTUAL_SUGGESTIONS_CAROUSEL)) {
|
| + ChromeFeatureList.CONTEXTUAL_SUGGESTIONS_CAROUSEL)
|
| + && sheet.getActiveTab() != null) {
|
| updateContextualSuggestions(sheet.getActiveTab().getUrl());
|
| }
|
|
|
|
|