A 1120 clarification

A druid's animal companion does not use the standard creature advancement rules at all - it solely receives the gains listed under Animal Companions and it never changes size.

This also applies to familiars (obviously they advance as familiars not animal companions).