I think with this particular scene it's Ron and Hermione accepting that Harry's going off on this journey with Dumbledore alone, and I reckon the courtyard scene is right before Harry leaves, but this scene in the dorms is probably when he first tells Ron and Hermione about it?