| Index: base/message_loop/message_loop.h
|
| diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
|
| index fbb8309c203275768188b499ef5d5e8102a751e9..63a29f15e955629ecdf786ce7ee3944935e035bc 100644
|
| --- a/base/message_loop/message_loop.h
|
| +++ b/base/message_loop/message_loop.h
|
| @@ -308,18 +308,18 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
|
| void SetTaskRunner(scoped_refptr<SingleThreadTaskRunner> task_runner);
|
|
|
| // Enables or disables the recursive task processing. This happens in the case
|
| - // of recursive message loops. Some unwanted message loop may occurs when
|
| + // of recursive message loops. Some unwanted message loops may occur when
|
| // using common controls or printer functions. By default, recursive task
|
| // processing is disabled.
|
| //
|
| - // Please utilize |ScopedNestableTaskAllower| instead of calling these methods
|
| - // directly. In general nestable message loops are to be avoided. They are
|
| + // Please use |ScopedNestableTaskAllower| instead of calling these methods
|
| + // directly. In general, nestable message loops are to be avoided. They are
|
| // dangerous and difficult to get right, so please use with extreme caution.
|
| //
|
| // The specific case where tasks get queued is:
|
| // - The thread is running a message loop.
|
| - // - It receives a task #1 and execute it.
|
| - // - The task #1 implicitly start a message loop, like a MessageBox in the
|
| + // - It receives a task #1 and executes it.
|
| + // - The task #1 implicitly starts a message loop, like a MessageBox in the
|
| // unit test. This can also be StartDoc or GetSaveFileName.
|
| // - The thread receives a task #2 before or while in this second message
|
| // loop.
|
| @@ -420,7 +420,7 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
|
| // and then pass it to the thread where the message loop actually runs.
|
| // The message loop's BindToCurrentThread() method must be called on the
|
| // thread the message loop runs on, before calling Run().
|
| - // Before BindToCurrentThread() is called only Post*Task() functions can
|
| + // Before BindToCurrentThread() is called, only Post*Task() functions can
|
| // be called on the message loop.
|
| static scoped_ptr<MessageLoop> CreateUnbound(
|
| Type type,
|
| @@ -511,7 +511,7 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
|
| bool nestable_tasks_allowed_;
|
|
|
| #if defined(OS_WIN)
|
| - // Should be set to true before calling Windows APIs like TrackPopupMenu, etc
|
| + // Should be set to true before calling Windows APIs like TrackPopupMenu, etc.
|
| // which enter a modal message loop.
|
| bool os_modal_loop_;
|
| #endif
|
|
|