Index: content/common/cc_messages_unittest.cc |
diff --git a/content/common/cc_messages_unittest.cc b/content/common/cc_messages_unittest.cc |
index e256bcfbb4ed0cd6b7fc92b01d8cedb90ae10e00..73b1a0836344b152e09d179258776bcf54089cd6 100644 |
--- a/content/common/cc_messages_unittest.cc |
+++ b/content/common/cc_messages_unittest.cc |
@@ -215,6 +215,7 @@ class CCMessagesTest : public testing::Test { |
} |
EXPECT_EQ(a.mailbox_holder.texture_target, b.mailbox_holder.texture_target); |
EXPECT_EQ(a.mailbox_holder.sync_point, b.mailbox_holder.sync_point); |
+ EXPECT_EQ(a.allow_overlay, b.allow_overlay); |
} |
}; |
@@ -655,6 +656,7 @@ TEST_F(CCMessagesTest, Resources) { |
arbitrary_resource1.mailbox_holder.mailbox.SetName(arbitrary_mailbox1); |
arbitrary_resource1.mailbox_holder.texture_target = GL_TEXTURE_2D; |
arbitrary_resource1.mailbox_holder.sync_point = arbitrary_uint1; |
+ arbitrary_resource1.allow_overlay = true; |
TransferableResource arbitrary_resource2; |
arbitrary_resource2.id = 789132; |
@@ -664,6 +666,7 @@ TEST_F(CCMessagesTest, Resources) { |
arbitrary_resource2.mailbox_holder.mailbox.SetName(arbitrary_mailbox2); |
arbitrary_resource2.mailbox_holder.texture_target = GL_TEXTURE_EXTERNAL_OES; |
arbitrary_resource2.mailbox_holder.sync_point = arbitrary_uint2; |
+ arbitrary_resource2.allow_overlay = false; |
scoped_ptr<RenderPass> renderpass_in = RenderPass::Create(); |
renderpass_in->SetNew( |