Commit 82f93fb2 authored by piman@chromium.org's avatar piman@chromium.org

Fix RenderPassDrawQuad serialization

BUG=None

Review URL: https://codereview.chromium.org/14178005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194692 0039d316-1c4b-4281-b951-d872f2087c98
parent ec55b967
......@@ -144,6 +144,7 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassDrawQuad)
IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
IPC_STRUCT_TRAITS_MEMBER(render_pass_id)
IPC_STRUCT_TRAITS_MEMBER(is_replica)
IPC_STRUCT_TRAITS_MEMBER(mask_resource_id)
IPC_STRUCT_TRAITS_MEMBER(contents_changed_since_last_frame)
......
......@@ -127,6 +127,7 @@ class CCMessagesTest : public testing::Test {
}
void Compare(const RenderPassDrawQuad* a, const RenderPassDrawQuad* b) {
EXPECT_EQ(a->render_pass_id, b->render_pass_id);
EXPECT_EQ(a->is_replica, b->is_replica);
EXPECT_EQ(a->mask_resource_id, b->mask_resource_id);
EXPECT_EQ(a->contents_changed_since_last_frame,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment