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

Unified Diff: cc/render_pass_unittest.cc

Issue 11774005: Migrate more functions from MathUtil to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Converted constructors to row-major input Created 7 years, 11 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/render_pass_unittest.cc
diff --git a/cc/render_pass_unittest.cc b/cc/render_pass_unittest.cc
index 52b0064cfdb13fc8f22dcabdacb37aa7f37a15c2..feb4ed5063a3551054824f6db4c30cddd56bf342 100644
--- a/cc/render_pass_unittest.cc
+++ b/cc/render_pass_unittest.cc
@@ -34,7 +34,7 @@ TEST(RenderPassTest, copyShouldBeIdenticalExceptIdAndQuads)
{
RenderPass::Id id(3, 2);
gfx::Rect outputRect(45, 22, 120, 13);
- gfx::Transform transformToRoot = MathUtil::createGfxTransform(1, 0.5, 0.5, -0.5, -1, 0);
+ gfx::Transform transformToRoot = gfx::Transform(1, 0.5, 0.5, -0.5, -1, 0);
danakj 2013/01/11 04:14:12 nit: 1.0, 0.5...
gfx::Rect damageRect(56, 123, 19, 43);
bool hasTransparentBackground = true;
bool hasOcclusionFromOutsideTargetSurface = true;

Powered by Google App Engine
This is Rietveld 408576698