Draco had been following Potter for a while. Weasley had taken the muggleborn Lily Moon and disappeared somewhere else, but his goal was Potter, who seemed to be ascending to the 7th floor: the Room of Requirement.