Bug 1108687 - Fix the MOZ_STACK_CLASS annotation on DecodersToInitialize. r=jyavenard, a=sledru
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 08 Dec 2014 23:24:55 -0500
changeset 242747 92b7a18d8a38521822cc66e7fb7dba0e91220e47
parent 242746 5e460d0174672dae08850616183ee9bf977db51a
child 242748 bcba197a83d771398945d9bf8ed0dfafb8adbd5f
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjyavenard, sledru
bugs1108687
milestone36.0a2
Bug 1108687 - Fix the MOZ_STACK_CLASS annotation on DecodersToInitialize. r=jyavenard, a=sledru The attribute syntax should appear after class.
dom/media/mediasource/TrackBuffer.cpp
--- a/dom/media/mediasource/TrackBuffer.cpp
+++ b/dom/media/mediasource/TrackBuffer.cpp
@@ -62,17 +62,17 @@ public:
     mDecoder = nullptr;
     return NS_OK;
   }
 
 private:
   nsRefPtr<SourceBufferDecoder> mDecoder;
 };
 
-MOZ_STACK_CLASS class DecodersToInitialize MOZ_FINAL {
+class MOZ_STACK_CLASS DecodersToInitialize MOZ_FINAL {
 public:
   explicit DecodersToInitialize(TrackBuffer* aOwner)
     : mOwner(aOwner)
   {
   }
 
   ~DecodersToInitialize()
   {