| Index: base/timer/timer.h
|
| diff --git a/base/timer/timer.h b/base/timer/timer.h
|
| index ea34a9fc7b8dc41ad336ec5b0aeee7bf558226e5..1ef58a3ea0b30a23dcd3fdc90a03675abea2fabf 100644
|
| --- a/base/timer/timer.h
|
| +++ b/base/timer/timer.h
|
| @@ -89,7 +89,8 @@ class BASE_EXPORT Timer {
|
| virtual TimeDelta GetCurrentDelay() const;
|
|
|
| // Set the task runner on which the task should be scheduled. This method can
|
| - // only be called before any tasks have been scheduled.
|
| + // only be called before any tasks have been scheduled. The task runner must
|
| + // run tasks on the same thread the timer is used on.
|
| virtual void SetTaskRunner(scoped_refptr<SingleThreadTaskRunner> task_runner);
|
|
|
| // Start the timer to run at the given |delay| from now. If the timer is
|
|
|