Fix the inlining magic. (#157536, Jens Hatlak, and #149907, Morten