diff --git a/engine/src/flutter/fml/memory/weak_ptr.h b/engine/src/flutter/fml/memory/weak_ptr.h index 1f7293014c..caaecaff2f 100644 --- a/engine/src/flutter/fml/memory/weak_ptr.h +++ b/engine/src/flutter/fml/memory/weak_ptr.h @@ -246,8 +246,8 @@ class WeakPtrFactory { flag_->Invalidate(); } - // Gets a new weak pointer, which will be valid until either - // |InvalidateWeakPtrs()| is called or this object is destroyed. + // Gets a new weak pointer, which will be valid until this object is + // destroyed. WeakPtr GetWeakPtr() const { return WeakPtr(ptr_, flag_.Clone(), checker_); } @@ -282,8 +282,8 @@ class TaskRunnerAffineWeakPtrFactory { flag_->Invalidate(); } - // Gets a new weak pointer, which will be valid until either - // |InvalidateWeakPtrs()| is called or this object is destroyed. + // Gets a new weak pointer, which will be valid until this object is + // destroyed. TaskRunnerAffineWeakPtr GetWeakPtr() const { return TaskRunnerAffineWeakPtr(ptr_, flag_.Clone(), checker_); }