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

Commit 5127a97b authored by Marin Shalamanov's avatar Marin Shalamanov
Browse files

Update the comment for ReplacedHandle

Test: n/a
Bug: n/a
Change-Id: I388af766fb1b5e78aabfc72c70883e71d05ce18c
parent 14072bb9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -177,7 +177,8 @@ class ComposerResources {
    bool mustValidateDisplay(Display display);

    // When a buffer in the cache is replaced by a new one, we must keep it
    // alive until it has been replaced in ComposerHal.
    // alive until it has been replaced in ComposerHal because it is still using
    // the old buffer.
    class ReplacedHandle {
      public:
        explicit ReplacedHandle(bool isBuffer) : mIsBuffer(isBuffer) {}