Update the comment for ReplacedHandle

Test: n/a
Bug: n/a
Change-Id: I388af766fb1b5e78aabfc72c70883e71d05ce18c
This commit is contained in:
Marin Shalamanov
2020-09-29 16:03:55 +02:00
parent 14072bb93b
commit 5127a97bd8

View File

@@ -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) {}