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

Unified Diff: components/password_manager/content/public/cpp/credential_manager_struct_traits.cc

Issue 2253293002: Mojo C++ bindings: change the first template parameter of StructTraits and UnionTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@91_extra
Patch Set: rebase Created 4 years, 4 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: components/password_manager/content/public/cpp/credential_manager_struct_traits.cc
diff --git a/components/password_manager/content/public/cpp/credential_manager_struct_traits.cc b/components/password_manager/content/public/cpp/credential_manager_struct_traits.cc
index 402c5acaaca1730028a10f747b51a78f5da95817..1b780069f4ae47aab4e3cb175e5ad094344c5478 100644
--- a/components/password_manager/content/public/cpp/credential_manager_struct_traits.cc
+++ b/components/password_manager/content/public/cpp/credential_manager_struct_traits.cc
@@ -49,7 +49,7 @@ bool EnumTraits<mojom::CredentialType, CredentialType>::FromMojom(
}
// static
-bool StructTraits<mojom::CredentialInfo, CredentialInfo>::Read(
+bool StructTraits<mojom::CredentialInfoDataView, CredentialInfo>::Read(
mojom::CredentialInfoDataView data,
CredentialInfo* out) {
if (data.ReadType(&out->type) && data.ReadId(&out->id) &&

Powered by Google App Engine
This is Rietveld 408576698