Commit a3b556aa authored by Sebastian Kaspari's avatar Sebastian Kaspari Committed by Mihai Adrian Carare
Browse files

ToolbarIntegration: Use global public suffix list instance.

parent 9f911e2e
......@@ -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
)
......
Supports Markdown
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