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

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

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 5 years, 7 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/lib/map_serialization.h
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/lib/map_serialization.h b/third_party/mojo/src/mojo/public/cpp/bindings/lib/map_serialization.h
index 632da5dd099a301d49ba55a67476c670c49ca511..6014b36bebec07648e295c4091f1ea81211ab0ce 100644
--- a/third_party/mojo/src/mojo/public/cpp/bindings/lib/map_serialization.h
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/lib/map_serialization.h
@@ -53,7 +53,7 @@ struct MapSerializer<ScopedHandleBase<H>, H, true, false> {
static size_t GetBaseArraySize(size_t count) {
return Align(count * sizeof(H));
}
- static size_t GetItemSize(const H& item) { return 0; }
+ static size_t GetItemSize(const ScopedHandleBase<H>& item) { return 0; }
};
// This template must only apply to pointer mojo entity (structs and arrays).

Powered by Google App Engine
This is Rietveld 408576698