This is required for platform view scenarios that merge the raster task runner into the platform thread.