Merge "Update the comment for ReplacedHandle"

This commit is contained in:
TreeHugger Robot
2020-09-29 17:38:42 +00:00
committed by Android (Google) Code Review

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