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

Unified Diff: mojo/public/cpp/bindings/type_converter.h

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
Index: mojo/public/cpp/bindings/type_converter.h
diff --git a/mojo/public/cpp/bindings/type_converter.h b/mojo/public/cpp/bindings/type_converter.h
index ff94cdadd3a463606a0fac650f4fbe5fde9b6a1f..415f82d7a1df4ab00c309e881ac7694706f0e9ce 100644
--- a/mojo/public/cpp/bindings/type_converter.h
+++ b/mojo/public/cpp/bindings/type_converter.h
@@ -45,7 +45,7 @@ namespace mojo {
// geometry::PointPtr result;
// result->x = input.x();
// result->y = input.y();
-// return result.Pass();
+// return result;
// }
// };
// template <>

Powered by Google App Engine
This is Rietveld 408576698