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

Unified Diff: cc/CCDrawQuadTest.cpp

Issue 10990116: [cc] Color evicted vs. invalidated checkerboard tiles differently (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « cc/CCCheckerboardDrawQuad.cpp ('k') | cc/CCRenderPassTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCDrawQuadTest.cpp
diff --git a/cc/CCDrawQuadTest.cpp b/cc/CCDrawQuadTest.cpp
index 8c00986b33158ed77a53395a6a70d7bb86c1ae3a..4970cd6d23d74a411b1e0fea0f281ef4dd13eff3 100644
--- a/cc/CCDrawQuadTest.cpp
+++ b/cc/CCDrawQuadTest.cpp
@@ -161,8 +161,10 @@ void compareDrawQuad(CCDrawQuad* quad, CCDrawQuad* copy, CCSharedQuadState* copy
TEST(CCDrawQuadTest, copyCheckerboardDrawQuad)
{
+ SkColor color = 0xfabb0011;
CREATE_SHARED_STATE();
- CREATE_QUAD_0(CCCheckerboardDrawQuad);
+ CREATE_QUAD_1(CCCheckerboardDrawQuad, color);
+ EXPECT_EQ(color, copyQuad->color());
}
TEST(CCDrawQuadTest, copyDebugBorderDrawQuad)
« no previous file with comments | « cc/CCCheckerboardDrawQuad.cpp ('k') | cc/CCRenderPassTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698