It's a layering violation. WebCoreAVFResourceLoader should implement PlatformMediaResourceLoaderClient instead of CachedRawResourceClient.