To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour that contains xanthan gum. Confirm that all other ingredients, including cornstarch and chocolate chips, are certified gluten-free. Chilling and baking times remain the same, though cookies may be slightly more delicate when warm.