Bug 1143575. Add RefBase #include to stagefright stubs. r=cpearce draft
authorRobert O'Callahan <robert@ocallahan.org>
Tue, 12 May 2015 15:36:19 +1200
changeset 275551 645ea390a7ae708011796d7ecf6369bdb1f62df2
parent 275550 cfe55292fe4efda1016d43699e9fbf1e8388d0ac
child 275552 8bfd7bbb21fbcdb72a4fc821d632518c3cd1efd8
push id3189
push userrocallahan@mozilla.com
push dateFri, 03 Jul 2015 11:12:01 +0000
reviewerscpearce
bugs1143575
milestone42.0a1
Bug 1143575. Add RefBase #include to stagefright stubs. r=cpearce
media/libstagefright/stubs/include/media/stagefright/foundation/AMessage.h
media/libstagefright/stubs/include/ui/GraphicBuffer.h
--- a/media/libstagefright/stubs/include/media/stagefright/foundation/AMessage.h
+++ b/media/libstagefright/stubs/include/media/stagefright/foundation/AMessage.h
@@ -1,14 +1,16 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 #ifndef A_MESSAGE_H_
 #define A_MESSAGE_H_
 
+#include <utils/RefBase.h>
+
 namespace stagefright {
 
 struct AMessage : public RefBase {
 public:
     void post() {}
 };
 
 }
--- a/media/libstagefright/stubs/include/ui/GraphicBuffer.h
+++ b/media/libstagefright/stubs/include/ui/GraphicBuffer.h
@@ -1,14 +1,16 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 #ifndef GRAPHIC_BUFFER_H_
 #define GRAPHIC_BUFFER_H_
 
+#include <utils/RefBase.h>
+
 namespace stagefright {
 
 class GraphicBuffer : public RefBase {
 };
 
 }
 
 #endif