Before revision: The name wardrobe is metonymic usage for the contents of a wardrobe.
After revision: The name wardrobe is a metonym for the contents of a wardrobe.