Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed98d6cb authored by Hans Boehm's avatar Hans Boehm
Browse files

Remove RefBase base class from FrameRenderTracker

FrameRenderTracker is never s standalone object, so it's unnecessary.
This avoids allocating a few extra heap objects. More importantly
it no longer interferes with my attempts to understand RefBase
objects that are deallocated without acquiring a strong reference.

Change-Id: I008b04b085fbab1efa4e8948efdcca14b26c247f
parent 67fbddfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -32,7 +32,7 @@ namespace android {
class Fence;
class Fence;
class GraphicBuffer;
class GraphicBuffer;


struct FrameRenderTracker : public RefBase {
struct FrameRenderTracker {
    // Tracks the render information about a frame. Frames go through several states while
    // Tracks the render information about a frame. Frames go through several states while
    // the render information is tracked:
    // the render information is tracked:
    //
    //