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

Unified Diff: content/common/cc_messages_unittest.cc

Issue 1044093005: Preliminary compositor disabling patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove renderpass calculation Created 5 years, 8 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.cc ('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 3be3adec352a849785091b5e84f10ac2d4e1a13d..72522d0a14d364dff8414fa65075f9ecee054067 100644
--- a/content/common/cc_messages_unittest.cc
+++ b/content/common/cc_messages_unittest.cc
@@ -72,6 +72,7 @@ class CCMessagesTest : public testing::Test {
EXPECT_EQ(a->rect.ToString(), b->rect.ToString());
EXPECT_EQ(a->opaque_rect.ToString(), b->opaque_rect.ToString());
EXPECT_EQ(a->visible_rect.ToString(), b->visible_rect.ToString());
+ EXPECT_EQ(a->damaged, b->damaged);
EXPECT_EQ(a->needs_blending, b->needs_blending);
Compare(a->shared_quad_state, b->shared_quad_state);
@@ -402,6 +403,7 @@ TEST_F(CCMessagesTest, AllQuads) {
arbitrary_bool1,
arbitrary_color,
arbitrary_bool2);
+ solidcolor_in->damaged = true;
pass_cmp->CopyFromAndAppendDrawQuad(solidcolor_in,
solidcolor_in->shared_quad_state);
« no previous file with comments | « content/common/cc_messages.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698