ToolbarIntegration: Use global public suffix list instance.

upstream-sync
Sebastian Kaspari 3 years ago committed by Mihai Adrian Carare
parent 9f911e2e4c
commit a3b556aa35

@ -21,7 +21,6 @@ import mozilla.components.feature.tabs.toolbar.TabCounterToolbarButton
import mozilla.components.feature.toolbar.ToolbarAutocompleteFeature
import mozilla.components.feature.toolbar.ToolbarFeature
import mozilla.components.feature.toolbar.ToolbarPresenter
import mozilla.components.lib.publicsuffixlist.PublicSuffixList
import mozilla.components.support.base.feature.LifecycleAwareFeature
import mozilla.components.support.ktx.android.view.hideKeyboard
import org.mozilla.fenix.R
@ -45,7 +44,7 @@ abstract class ToolbarIntegration(
store,
sessionId,
ToolbarFeature.UrlRenderConfiguration(
PublicSuffixList(context),
context.components.publicSuffixList,
ThemeManager.resolveAttribute(R.attr.primaryText, context),
renderStyle = renderStyle
)

Loading…
Cancel
Save