DescriptionCleanup return values in chrome/common/extensions
This CL turns const by value return values into const by ref.
Replacing const value by a const ref when a member variable is returned
is safe, because the member variable will live at least as long as the
temporary object returned now. It can also be more efficient, because
returning a ref can spare copying.
BUG=393155
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285691
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|