Ensures the role is properly signalled to have changed. CCBUG: 429862 (cherry picked from commit d840c5dc)