I can't speak directly... but check this tip at the top
guide wrote:
We recommend comparing the updated files to your customized ones after performing an update to see if any changes that have been made would be beneficial to use in your override.
... presumably though you JUST tried this with the current version of Gantry? Don't use the code in the example, use the code from the current source file(s)...