| Index: base/time/time.h
|
| diff --git a/base/time/time.h b/base/time/time.h
|
| index 648445f35a2394ec7bea7a5506a2dbd68ce12a67..306ec2cf4f5fca00fef4163541d14ca91bb9c4aa 100644
|
| --- a/base/time/time.h
|
| +++ b/base/time/time.h
|
| @@ -21,9 +21,11 @@
|
| // ThreadTicks will "stand still" whenever the thread has been de-scheduled by
|
| // the operating system.
|
| //
|
| -// All time classes are copyable, assignable, and occupy 64-bits per
|
| -// instance. Thus, they can be efficiently passed by-value (as opposed to
|
| -// by-reference).
|
| +// All time classes are copyable, assignable, and occupy 64-bits per instance.
|
| +// As a result, prefer passing them by value:
|
| +// void MyFunction(TimeDelta arg);
|
| +// If circumstances require, you may also pass by const reference:
|
| +// void MyFunction(const TimeDelta& arg); // Not preferred.
|
| //
|
| // Definitions of operator<< are provided to make these types work with
|
| // DCHECK_EQ() and other log macros. For human-readable formatting, see
|
|
|