Bug 1282795 - Make frontend::Parser final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<Parser>. r=froydnj

--HG--
extra : rebase_source : 6c4eeb1c68c6a1b4e4e7bc232ed2fed7ddddce28
This commit is contained in:
Jeff Walden 2016-06-28 17:09:36 +01:00
parent f38286fc77
commit f7b8d0cce7

View File

@ -391,7 +391,7 @@ enum DefaultHandling { NameRequired, AllowDefaultName };
enum TripledotHandling { TripledotAllowed, TripledotProhibited };
template <typename ParseHandler>
class Parser : private JS::AutoGCRooter, public StrictModeGetter
class Parser final : private JS::AutoGCRooter, public StrictModeGetter
{
class MOZ_STACK_CLASS AutoPushStmtInfoPC
{