Commit 9739b1ca authored by Richard He's avatar Richard He Committed by Commit Bot

Fix feed build error when `enable_feed_in_chrome = false`

Dummy FeedNewTabPage constructor parameters are
not changed accordingly.

Change-Id: I36a5fa1052b4805768c6c69998f0becec90fe572
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131802Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Reviewed-by: default avatarDan H <harringtond@chromium.org>
Commit-Queue: Richard He <linyhe@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#756111}
parent 474531a1
......@@ -10,7 +10,7 @@ import org.chromium.chrome.browser.ActivityTabProvider;
import org.chromium.chrome.browser.ChromeActivity;
import org.chromium.chrome.browser.lifecycle.ActivityLifecycleDispatcher;
import org.chromium.chrome.browser.ntp.NewTabPage;
import org.chromium.chrome.browser.tab.TabImpl;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.tabmodel.TabModelSelector;
import org.chromium.chrome.browser.ui.native_page.NativePageHost;
......@@ -26,11 +26,11 @@ public class FeedNewTabPage extends NewTabPage {
* @param tabModelSelector The {@link TabModelSelector} for the containing activity.
* @param activityTabProvider Allows us to check if we are the current tab.
* @param activityLifecycleDispatcher Allows us to subscribe to backgrounding events.
* @param tab The {@link TabImpl} that contains this new tab page.
* @param tab The {@link Tab} that contains this new tab page.
*/
public FeedNewTabPage(ChromeActivity activity, NativePageHost nativePageHost,
TabModelSelector tabModelSelector, ActivityTabProvider activityTabProvider,
ActivityLifecycleDispatcher activityLifecycleDispatcher, TabImpl tab) {
ActivityLifecycleDispatcher activityLifecycleDispatcher, Tab tab) {
super(activity, nativePageHost, tabModelSelector, activityTabProvider,
activityLifecycleDispatcher, tab);
}
......
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