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

Unified Diff: third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h

Issue 904103003: Update mojo sdk to rev 8d45c89c30b230843c5bd6dd0693a555750946c0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: surfaces_service.mojom.h -> surfaces.mojom.h Created 5 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
Index: third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h b/third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h
index a420fa5f0b7dd44efc9bfa8389cdc892155bd7ba..04a8130fc65ba31edc1d7bd83ef87ea75962b6d4 100644
--- a/third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h
@@ -25,6 +25,7 @@ class StructHelper {
} // namespace internal
+// Smart pointer wrapping a mojom structure with move-only semantics.
template <typename Struct>
class StructPtr {
MOJO_MOVE_ONLY_TYPE(StructPtr)
« no previous file with comments | « third_party/mojo/src/mojo/public/cpp/bindings/string.h ('k') | third_party/mojo/src/mojo/public/cpp/bindings/tests/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698