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

Unified Diff: content/common/cc_messages_unittest.cc

Issue 1380653003: Mac Overlays: Allow SolidColor and Tile quads to be candidates for overlays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AllOrNothing2
Patch Set: Plumb allow_overlay Created 5 years, 2 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
Index: content/common/cc_messages_unittest.cc
diff --git a/content/common/cc_messages_unittest.cc b/content/common/cc_messages_unittest.cc
index 4cb3dc68879f2d34cb7260d30edd30a463bdef8a..8839d76b9ee5cda528ddec0ec85029e4e9ef9017 100644
--- a/content/common/cc_messages_unittest.cc
+++ b/content/common/cc_messages_unittest.cc
@@ -191,6 +191,7 @@ class CCMessagesTest : public testing::Test {
EXPECT_EQ(a->texture_size, b->texture_size);
EXPECT_EQ(a->swizzle_contents, b->swizzle_contents);
EXPECT_EQ(a->nearest_neighbor, b->nearest_neighbor);
+ EXPECT_EQ(a->allow_overlay, b->allow_overlay);
}
void Compare(const YUVVideoDrawQuad* a, const YUVVideoDrawQuad* b) {
@@ -428,7 +429,8 @@ TEST_F(CCMessagesTest, AllQuads) {
arbitrary_rectf1,
arbitrary_size1,
arbitrary_bool2,
- arbitrary_bool3);
+ arbitrary_bool3,
+ arbitrary_bool4);
pass_cmp->CopyFromAndAppendDrawQuad(tile_in, tile_in->shared_quad_state);
YUVVideoDrawQuad* yuvvideo_in =

Powered by Google App Engine
This is Rietveld 408576698