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

Unified Diff: cc/test/CCLayerTestCommon.cpp

Issue 10984053: cc: Use ui/gfx geometry types for the CCRenderPass and CCDrawQuad classes. (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
Index: cc/test/CCLayerTestCommon.cpp
diff --git a/cc/test/CCLayerTestCommon.cpp b/cc/test/CCLayerTestCommon.cpp
index 81753d4544c4f61261aeb87f319a47cd054abd63..7ef909997701f05b6bf55f2843166dc2eff0079a 100644
--- a/cc/test/CCLayerTestCommon.cpp
+++ b/cc/test/CCLayerTestCommon.cpp
@@ -23,7 +23,7 @@ void verifyQuadsExactlyCoverRect(const CCQuadList& quads, const IntRect& rect)
for (size_t i = 0; i < quads.size(); ++i) {
CCDrawQuad* quad = quads[i];
- IntRect quadRect = quad->quadRect();
+ IntRect quadRect = cc::IntRect(quad->quadRect());
EXPECT_TRUE(rect.contains(quadRect)) << quadString << i;
EXPECT_TRUE(remaining.contains(quadRect)) << quadString << i;
« cc/math/int_point.h ('K') | « cc/stubs/IntSize.h ('k') | cc/test/MockCCQuadCuller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698