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

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: 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 f769483b0845e6ed1bc6adc84a925869f67e8c78..484a9c3d76fdbf00f5a92f11f35dc50d12208221 100644
--- a/cc/render_pass_unittest.cc
+++ b/cc/render_pass_unittest.cc
@@ -12,6 +12,7 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations.h"
#include "third_party/skia/include/effects/SkBlurImageFilter.h"
#include "ui/gfx/transform.h"
+#include "ui/gfx/transform_util.h"
using cc::TestRenderPass;
@@ -34,7 +35,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::CreateGfxTransform(1, 0.5, 0.5, -0.5, -1, 0);
gfx::Rect damageRect(56, 123, 19, 43);
bool hasTransparentBackground = true;
bool hasOcclusionFromOutsideTargetSurface = true;

Powered by Google App Engine
This is Rietveld 408576698