Bug 1081287: Use EnumMap where possible. r=rnewman
Bug 1081287 - Use EnumMap where possible. r=rnewman