surfaceflinger: fix -Wmismatched-tags warnings

warning: struct 'HWComposer' was previously declared as a class
[-Wmismatched-tags]

warning: class 'DisplayInfo' was previously declared as a struct
[-Wmismatched-tags]

Change-Id: I13db9f8aab3a957ce8ff8d64598dae1807d6fe7e
(cherry picked from commit 646f541050)
This commit is contained in:
Jesse Hall 2014-08-07 22:19:07 -07:00
parent 1834f8ea97
commit 1495ceb885
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ namespace android {
class ComposerState; class ComposerState;
class DisplayState; class DisplayState;
class DisplayInfo; struct DisplayInfo;
class DisplayStatInfo; class DisplayStatInfo;
class IDisplayEventConnection; class IDisplayEventConnection;
class IMemoryHeap; class IMemoryHeap;

View File

@ -37,7 +37,7 @@ struct ANativeWindow;
namespace android { namespace android {
class DisplayInfo; struct DisplayInfo;
class DisplaySurface; class DisplaySurface;
class IGraphicBufferProducer; class IGraphicBufferProducer;
class Layer; class Layer;

View File

@ -196,7 +196,7 @@ public:
* This behaves more or less like a forward iterator. * This behaves more or less like a forward iterator.
*/ */
class LayerListIterator { class LayerListIterator {
friend struct HWComposer; friend class HWComposer;
HWCLayer* const mLayerList; HWCLayer* const mLayerList;
size_t mIndex; size_t mIndex;