mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00

Various bits of IPDL code would do something like: Message* m = ...; if (m.type() == particular message type) { static_cast<ParticularMessageType*>(m)->name(); } The static_cast is a remnant of having to do the downcast to access the Log() method on the concrete subclass. Since name() is defined on Message, there's no need for these casts anymore, so let's remove them.