diff options
author | Chris Craik <ccraik@google.com> | 2014-12-19 10:08:40 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-12-22 11:20:57 -0800 |
commit | 07adacf4996c8ca494332ec938786fa15832c722 (patch) | |
tree | 941feda10d6501b2cd6e24714c915bf9bb49c0f8 /libs/hwui/DisplayList.h | |
parent | 32328b5cec14323dd31cf906aaeb088caf110a1d (diff) |
Cleanup
Change-Id: I91ffb9c66697741116fdeaa31abdf6cfd79155df
Diffstat (limited to 'libs/hwui/DisplayList.h')
-rw-r--r-- | libs/hwui/DisplayList.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/hwui/DisplayList.h b/libs/hwui/DisplayList.h index e168786b34ef..26637a74f330 100644 --- a/libs/hwui/DisplayList.h +++ b/libs/hwui/DisplayList.h @@ -67,7 +67,7 @@ class DrawRenderNodeOp; /** * Holds data used in the playback a tree of DisplayLists. */ -class PlaybackStateStruct { +struct PlaybackStateStruct { protected: PlaybackStateStruct(OpenGLRenderer& renderer, int replayFlags, LinearAllocator* allocator) : mRenderer(renderer) @@ -96,8 +96,7 @@ struct DeferStateStruct : public PlaybackStateStruct { DeferredDisplayList& mDeferredList; }; -class ReplayStateStruct : public PlaybackStateStruct { -public: +struct ReplayStateStruct : public PlaybackStateStruct { ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) : PlaybackStateStruct(renderer, replayFlags, &mReplayAllocator), mDirty(dirty) {} |