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

Unified Diff: gpu/ipc/id_type_traits.h

Issue 1665363002: Clang plugin to check that unstable types are not used in IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typos Created 4 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: gpu/ipc/id_type_traits.h
diff --git a/gpu/ipc/id_type_traits.h b/gpu/ipc/id_type_traits.h
index d2decb7187f3e734994c0a53e5f8a7c396be54e0..44cfc8ae091d0b50ada7665e8c97f32a673a2c3a 100644
--- a/gpu/ipc/id_type_traits.h
+++ b/gpu/ipc/id_type_traits.h
@@ -21,7 +21,7 @@ struct ParamTraits<gpu::IdType<TypeMarker, WrappedType, kInvalidValue>> {
GetParamSize(sizer, p.GetUnsafeValue());
}
static void Write(base::Pickle* m, const param_type& p) {
- WriteParam(m, p.GetUnsafeValue());
+ WriteParam<WrappedType>(m, p.GetUnsafeValue());
}
static bool Read(const base::Pickle* m,
base::PickleIterator* iter,

Powered by Google App Engine
This is Rietveld 408576698