Provide proper arguments to ResourceLoaderContext constructor

Change-Id: Iee9dfdfc2752e73d1641d099db1cfcff330e7cb3
Merge "Provide proper arguments to ResourceLoaderContext constructor"