<P> Macdonald starred in the 2005 film Nanny McPhee, as the scullery maid Evangeline, and has since had supporting roles in A Cock and Bull Story (2006), and the Coen brothers' Academy Award - winning No Country for Old Men (2007), for which she was nominated for a BAFTA Award for Best Actress in a Supporting Role . It was reported that she had to fight her agent to be considered for the role, but in 2017 Macdonald denied the story . </P> <P> Other films where she had supporting roles include Choke (2008), as Paige Marshall, the film adapted by Clark Gregg from the 2001 Chuck Palahniuk novel; In the Electric Mist (2009) (based on James Lee Burke's In the Electric Mist with Confederate Dead (1993), as Kelly Drummond, alongside Tommy Lee Jones and John Goodman; and Skellig (2009), as Louise . She played the lead in The Merry Gentleman (2008), as Kate Frazier . </P> <P> In 2010, she played her first comedy role, in the British independent romantic comedy film The Decoy Bride . The Decoy Bride was released in 2012 . In 2011, she played the "Grey Lady" (revealed to be Helena Ravenclaw) in Harry Potter and the Deathly Hallows--Part 2, the final instalment of the Harry Potter film franchise . She replaced Nina Young, the original actress in the role . In 2012, she provided the voice of Merida, the heroine of the Disney / Pixar film Brave, and starred as Dolly in Anna Karenina . </P> <P> From 2010 until its ending in 2014, she starred in the HBO crime drama Boardwalk Empire as Margaret Thompson, the wife of Prohibition - era Atlantic City crime boss Nucky Thompson (Steve Buscemi). She appeared in all five seasons of the series . In 2011, she and the rest of the show's cast were awarded the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series . In 2016, she starred in Ricky Gervais' Special Correspondents as Claire Maddox, and Swallows and Amazons as Mrs. Walker . In 2016, she played the lead role in "Hated in the Nation", an episode of the anthology series Black Mirror for which she received critical acclaim . On 3 November 2016 Macdonald was featured in the trailer for Danny Boyle's T2 Trainspotting confirming she will reprise her role as Diane from the original film . </P>

Who plays the ghost of ravenclaw in harry potter
find me the text answering this question