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

Unified Diff: content/common/cc_messages_unittest.cc

Issue 12328098: cc: Moving anti-aliasing decision to parent compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@solidaa
Patch Set: Addressed change request from message #6 (updated unit tests). Created 7 years, 10 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 | « content/common/cc_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages_unittest.cc
diff --git a/content/common/cc_messages_unittest.cc b/content/common/cc_messages_unittest.cc
index 94d82d9466f5d870aca88c8de9dea86122377ea0..788b90cc5f6ad53be7e19f3ac0f4fa277db9eb0d 100644
--- a/content/common/cc_messages_unittest.cc
+++ b/content/common/cc_messages_unittest.cc
@@ -157,10 +157,6 @@ class CCMessagesTest : public testing::Test {
EXPECT_EQ(a->tex_coord_rect, b->tex_coord_rect);
EXPECT_EQ(a->texture_size, b->texture_size);
EXPECT_EQ(a->swizzle_contents, b->swizzle_contents);
- EXPECT_EQ(a->left_edge_aa, b->left_edge_aa);
- EXPECT_EQ(a->top_edge_aa, b->top_edge_aa);
- EXPECT_EQ(a->right_edge_aa, b->right_edge_aa);
- EXPECT_EQ(a->bottom_edge_aa, b->bottom_edge_aa);
}
void Compare(const YUVVideoDrawQuad* a, const YUVVideoDrawQuad* b) {
@@ -209,9 +205,6 @@ TEST_F(CCMessagesTest, AllQuads) {
bool arbitrary_bool1 = true;
bool arbitrary_bool2 = false;
bool arbitrary_bool3 = true;
- bool arbitrary_bool4 = true;
- bool arbitrary_bool5 = false;
- bool arbitrary_bool6 = true;
int arbitrary_int = 5;
SkColor arbitrary_color = SkColorSetARGB(25, 36, 47, 58);
IOSurfaceDrawQuad::Orientation arbitrary_orientation =
@@ -247,6 +240,7 @@ TEST_F(CCMessagesTest, AllQuads) {
scoped_ptr<SharedQuadState> shared_state1_in = SharedQuadState::Create();
shared_state1_in->SetAll(arbitrary_matrix,
+ arbitrary_size1,
arbitrary_rect1,
arbitrary_rect2,
arbitrary_bool1,
@@ -309,6 +303,7 @@ TEST_F(CCMessagesTest, AllQuads) {
scoped_ptr<SharedQuadState> shared_state2_in = SharedQuadState::Create();
shared_state2_in->SetAll(arbitrary_matrix,
+ arbitrary_size2,
arbitrary_rect2,
arbitrary_rect3,
arbitrary_bool1,
@@ -317,6 +312,7 @@ TEST_F(CCMessagesTest, AllQuads) {
scoped_ptr<SharedQuadState> shared_state3_in = SharedQuadState::Create();
shared_state3_in->SetAll(arbitrary_matrix,
+ arbitrary_size3,
arbitrary_rect3,
arbitrary_rect1,
arbitrary_bool1,
@@ -370,11 +366,7 @@ TEST_F(CCMessagesTest, AllQuads) {
arbitrary_resourceid,
arbitrary_rectf1,
arbitrary_size1,
- arbitrary_bool2,
- arbitrary_bool3,
- arbitrary_bool4,
- arbitrary_bool5,
- arbitrary_bool6);
+ arbitrary_bool2);
scoped_ptr<DrawQuad> tile_cmp = tile_in->Copy(
tile_in->shared_quad_state);
« no previous file with comments | « content/common/cc_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698