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

Unified Diff: cc/ipc/struct_traits_unittest.cc

Issue 2087673002: Remove CreateGpuMemoryBufferFromClientId and plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 | « cc/ipc/cc_param_traits_macros.h ('k') | cc/ipc/transferable_resource.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/struct_traits_unittest.cc
diff --git a/cc/ipc/struct_traits_unittest.cc b/cc/ipc/struct_traits_unittest.cc
index f958558e2b86acfb3f5e6a2979a5e6a70af45752..6f9486983e87f3d3b110cc3ae3e9ae872069aebe 100644
--- a/cc/ipc/struct_traits_unittest.cc
+++ b/cc/ipc/struct_traits_unittest.cc
@@ -475,7 +475,6 @@ TEST_F(StructTraitsTest, TransferableResource) {
const uint32_t texture_target = 1337;
const bool read_lock_fences_enabled = true;
const bool is_software = false;
- const int gpu_memory_buffer_id = 0xdeadbeef;
const bool is_overlay_candidate = true;
gpu::MailboxHolder mailbox_holder;
@@ -492,7 +491,6 @@ TEST_F(StructTraitsTest, TransferableResource) {
input.mailbox_holder = mailbox_holder;
input.read_lock_fences_enabled = read_lock_fences_enabled;
input.is_software = is_software;
- input.gpu_memory_buffer_id.id = gpu_memory_buffer_id;
input.is_overlay_candidate = is_overlay_candidate;
mojom::TraitsTestServicePtr proxy = GetTraitsTestProxy();
TransferableResource output;
@@ -507,7 +505,6 @@ TEST_F(StructTraitsTest, TransferableResource) {
output.mailbox_holder.texture_target);
EXPECT_EQ(read_lock_fences_enabled, output.read_lock_fences_enabled);
EXPECT_EQ(is_software, output.is_software);
- EXPECT_EQ(gpu_memory_buffer_id, output.gpu_memory_buffer_id.id);
EXPECT_EQ(is_overlay_candidate, output.is_overlay_candidate);
}
« no previous file with comments | « cc/ipc/cc_param_traits_macros.h ('k') | cc/ipc/transferable_resource.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698