Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1428)

Unified Diff: base/move.h

Issue 9380051: Coverity: Fix a few pass-by-values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert printing. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/initializing_rules_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/move.h
diff --git a/base/move.h b/base/move.h
index f9408f7ae9ef4f55199c01176bccbb778f7edf9f..daead8d2dddd9b236d83c314dbb41d8054d282d3 100644
--- a/base/move.h
+++ b/base/move.h
@@ -18,7 +18,7 @@
//
// * Passed as a function argument
// * Used as the right-hand side of an assignment
-// * Return from a function
+// * Returned from a function
//
// Each class will still need to define their own "move constructor" and "move
// operator=" to make this useful. Here's an example of the macro, the move
@@ -122,7 +122,7 @@
// function parameter or field of a class, the binary will not link.
//
// This ensures that RValue can only exist as a temporary which is important
-// to avoid accidental danging references.
+// to avoid accidental dangling references.
//
// (3) allows us to get around instantiations because our user-defined
// conversion can return a downcast of this pointer.
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/initializing_rules_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698