Create a rebased patch for #18885