Improve MessageLoop's comments.
Remove incorrect mention of RefCountedThreadSafe from DeleteSoon's
comment.
Replace mention of PostDelayedTask with ReleaseSoon in ReleaseSoon's
comment.
BUG=
Review URL: https://codereview.chromium.org/615693002
Cr-Commit-Position: refs/heads/master@{#297870}
CrOS-Libchrome-Original-Commit: 9be04f02356b1bb6ebeb8048e4d6449f5d3f8bee
diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
index 3cec37e..c9a9185 100644
--- a/base/message_loop/message_loop.h
+++ b/base/message_loop/message_loop.h
@@ -194,9 +194,7 @@
// good).
//
// NOTE: This method may be called on any thread. The object will be deleted
- // on the thread that executes MessageLoop::Run(). If this is not the same
- // as the thread that calls PostDelayedTask(FROM_HERE, ), then T MUST inherit
- // from RefCountedThreadSafe<T>!
+ // on the thread that executes MessageLoop::Run().
template <class T>
void DeleteSoon(const tracked_objects::Location& from_here, const T* object) {
base::subtle::DeleteHelperInternal<T, void>::DeleteViaSequencedTaskRunner(
@@ -223,7 +221,7 @@
// NOTE: This method may be called on any thread. The object will be
// released (and thus possibly deleted) on the thread that executes
// MessageLoop::Run(). If this is not the same as the thread that calls
- // PostDelayedTask(FROM_HERE, ), then T MUST inherit from
+ // ReleaseSoon(FROM_HERE, ), then T MUST inherit from
// RefCountedThreadSafe<T>!
template <class T>
void ReleaseSoon(const tracked_objects::Location& from_here,