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

Unified Diff: gpu/ipc/common/mailbox_struct_traits.cc

Issue 2027223002: gpu::mojom::Mailbox: Remove unnecessary ArrayTraits IsNull/SetToNull methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « gpu/ipc/common/mailbox_struct_traits.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/mailbox_struct_traits.cc
diff --git a/gpu/ipc/common/mailbox_struct_traits.cc b/gpu/ipc/common/mailbox_struct_traits.cc
index 2218a839de864553d9e531d47d2e32f91039976b..88577706c2221694e13be7bdb7bd81a01626f888 100644
--- a/gpu/ipc/common/mailbox_struct_traits.cc
+++ b/gpu/ipc/common/mailbox_struct_traits.cc
@@ -7,16 +7,6 @@
namespace mojo {
// static
-bool ArrayTraits<MailboxName>::IsNull(const MailboxName& b) {
- return b.data == nullptr;
-}
-
-// static
-void ArrayTraits<MailboxName>::SetToNull(MailboxName* b) {
- b->data = nullptr;
-}
-
-// static
size_t ArrayTraits<MailboxName>::GetSize(const MailboxName& b) {
return GL_MAILBOX_SIZE_CHROMIUM;
}
« no previous file with comments | « gpu/ipc/common/mailbox_struct_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698