Alexander Koener/Getty
In the post, which Barton has since deleted, the actress is pictured standing on a boat in the ocean, holding a wine glass and wearing a bikini. Though the post's caption featured a heartfelt message about the shooting, many found the contrast between Barton's picture and caption to be ill-advised and in bad taste.
On Friday, after deleting the post, Barton apologized on Twitter, saying she "didn't mean to offend anyone."
I'm human I'm not perfect and I'm sorry if my Instagram post went out of context I didn't mean to offend anyone
- Mischa Barton (@MischaBarton) July 8, 2016
Soon after, Barton commented on Thursday night's tragedy in Dallas, where five police officers were killed by snipers at a police brutality protest.
My heart goes out to the families of the innocent police officers who were shot in the line of duty. ?? #PrayForDallas
- Mischa Barton (@MischaBarton) July 8, 2016
Humanity is slipping through our fingers. Pray for the victims. Pray for our country. Pray for the world. #PrayForDallas
- Mischa Barton (@MischaBarton) July 8, 2016