Bug 1407063 - Fix non-unified build in SampleTable.h. r?gerald draft
authorPhilippe Normand <philn@igalia.com>
Thu, 05 Oct 2017 15:58:16 +0200
changeset 677022 383711647d34b916973d5af49001205394d5fc41
parent 677021 66d9ac60a8c23c7f02ae07e732a43ba18fa53fe3
child 735091 aa5e0c37619416421fc8c09821e404da0be2877f
push id83665
push userbmo:cpearce@mozilla.com
push dateMon, 09 Oct 2017 21:50:20 +0000
reviewersgerald
bugs1407063
milestone58.0a1
Bug 1407063 - Fix non-unified build in SampleTable.h. r?gerald nsTArray was previously used without prior declaration. Including the nsTArray.h header fixes this issue. MozReview-Commit-ID: 5FmrbjSmZUD
media/libstagefright/frameworks/av/media/libstagefright/include/SampleTable.h
--- a/media/libstagefright/frameworks/av/media/libstagefright/include/SampleTable.h
+++ b/media/libstagefright/frameworks/av/media/libstagefright/include/SampleTable.h
@@ -19,16 +19,17 @@
 #define SAMPLE_TABLE_H_
 
 #include <sys/types.h>
 #include <stdint.h>
 
 #include <media/stagefright/MediaErrors.h>
 #include <utils/RefBase.h>
 #include <utils/threads.h>
+#include "nsTArray.h"
 
 namespace stagefright {
 
 class DataSource;
 struct SampleIterator;
 
 class SampleTable : public RefBase {
 public: