Bug 1255737 - Fix add override annotation to fix static analysis bustage. a=bustage FIREFOX_49_0b7_BUILD1 FIREFOX_49_0b7_RELEASE
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 25 Aug 2016 16:26:51 -0400
changeset 340491 b44c72b85a800d9c6e719579d480bb2c3a87a753
parent 340490 198825ee397d00cbd7a0dc54d88db547a7b77d3d
child 340492 08b0e34d75df20770e4b61067e299ef59a90273c
push id6346
push userryanvm@gmail.com
push dateThu, 25 Aug 2016 20:26:56 +0000
treeherdermozilla-beta@b44c72b85a80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1255737
milestone49.0
Bug 1255737 - Fix add override annotation to fix static analysis bustage. a=bustage
dom/media/MediaStreamGraph.cpp
--- a/dom/media/MediaStreamGraph.cpp
+++ b/dom/media/MediaStreamGraph.cpp
@@ -1658,17 +1658,17 @@ namespace {
 class MediaStreamGraphShutDownRunnable : public Runnable
                                        , public nsITimerCallback {
 public:
   explicit MediaStreamGraphShutDownRunnable(MediaStreamGraphImpl* aGraph)
     : mGraph(aGraph)
   {}
   NS_DECL_ISUPPORTS_INHERITED
 
-  NS_IMETHOD Run()
+  NS_IMETHOD Run() override
   {
     NS_ASSERTION(mGraph->mDetectedNotRunning,
                  "We should know the graph thread control loop isn't running!");
 
     LIFECYCLE_LOG("Shutting down graph %p", mGraph.get());
 
     // We've asserted the graph isn't running.  Use mDriver instead of CurrentDriver
     // to avoid thread-safety checks