The headquarters location doesn't really matter in the context of outsourcing. Was the work in question done in Chicago, India, or somewhere else?
Assuming racism isn't particularly useful without more context. Racism is an intent, simply saying the work was outsourced to India could be as benign as having incorrect information and absolutely doesn't say anything about the people of India themselves.
Fair enough, I think that falls into incorrect information then. I didn't make the original claim and wouldn't have assumed it was outsourced at all, I have no idea the inner dynamics of McDonald's engineering teams.
My point was simply that saying the work was outsourced to India isn't itself enough to make a very real claim that someone is racist.
Having incorrect information isn't racist, making an assumption that outsourced work went to India if that matches a person's experience with outsourced IT work ending up in India isn't racist, and saying the country to which work may have been outsourced to says absolutely nothing about the people there.
At some point it is plain racism and prejudice.