I think we need check above validation of function pointers. You could refer code in`content/common/gpu/media/vaapi_wrapper.cc`