Require a ResourceLoader instance is passed to ResourceLoaderContext

Change-Id: Ie1e5453b47349fc00664325827f88a1e7a6de43f