diff options
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/cc_messages.h | 3 | ||||
-rw-r--r-- | content/common/cc_messages_unittest.cc | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h index d0d1da6..1a7bcc0 100644 --- a/content/common/cc_messages.h +++ b/content/common/cc_messages.h @@ -176,8 +176,7 @@ IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) IPC_STRUCT_TRAITS_MEMBER(resource_id) IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha) - IPC_STRUCT_TRAITS_MEMBER(uv_top_left) - IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) + IPC_STRUCT_TRAITS_MEMBER(uv_rect) IPC_STRUCT_TRAITS_MEMBER(flipped) IPC_STRUCT_TRAITS_END() diff --git a/content/common/cc_messages_unittest.cc b/content/common/cc_messages_unittest.cc index efa840d..7261439 100644 --- a/content/common/cc_messages_unittest.cc +++ b/content/common/cc_messages_unittest.cc @@ -144,8 +144,7 @@ class CCMessagesTest : public testing::Test { void Compare(const TextureDrawQuad* a, const TextureDrawQuad* b) { EXPECT_EQ(a->resource_id, b->resource_id); EXPECT_EQ(a->premultiplied_alpha, b->premultiplied_alpha); - EXPECT_EQ(a->uv_top_left, b->uv_top_left); - EXPECT_EQ(a->uv_bottom_right, b->uv_bottom_right); + EXPECT_EQ(a->uv_rect, b->uv_rect); EXPECT_EQ(a->flipped, b->flipped); } |