Commit ae4a9579 authored by Michael Thiessen's avatar Michael Thiessen Committed by Commit Bot

Fix notouch_build compile.

Broken by https://chromium-review.googlesource.com/c/chromium/src/+/1516120

Change-Id: I47760e47d125836d4719cde7998a0497bb252119
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1564814
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Auto-Submit: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649903}
parent 242226e7
......@@ -28,6 +28,7 @@ import org.chromium.chrome.browser.suggestions.SuggestionsRecyclerView;
import org.chromium.chrome.browser.suggestions.SuggestionsUiDelegate;
import org.chromium.chrome.browser.suggestions.SuggestionsUiDelegateImpl;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.tabmodel.TabModelSelector;
import org.chromium.chrome.browser.widget.displaystyle.UiConfig;
import org.chromium.chrome.touchless.R;
import org.chromium.ui.modelutil.PropertyModelChangeProcessor;
......@@ -109,7 +110,7 @@ public class TouchlessNewTabPage extends BasicNativePage {
SuggestionsSource suggestionsSource = depsFactory.createSuggestionSource(profile);
SuggestionsEventReporter eventReporter = depsFactory.createEventReporter();
SuggestionsNavigationDelegate navigationDelegate = new SuggestionsNavigationDelegate(
activity, profile, nativePageHost, mTab.getTabModelSelector());
activity, profile, nativePageHost, TabModelSelector.from(mTab));
SuggestionsUiDelegate suggestionsUiDelegate = new SuggestionsUiDelegateImpl(
suggestionsSource, eventReporter, navigationDelegate, profile, nativePageHost,
activity.getChromeApplication().getReferencePool(), activity.getSnackbarManager());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment