Revision control
Copy as Markdown
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
package org.mozilla.tv.firefox.ext
import androidx.fragment.app.Fragment
import org.mozilla.tv.firefox.webrender.WebRenderComponents
/**
* Get the components of this application's context.
*
* @throws IllegalStateException if not currently associated with a context.
*/
val Fragment.requireWebRenderComponents: WebRenderComponents
get() = requireContext().webRenderComponents