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

Unified Diff: cc/nine_patch_layer_impl_unittest.cc

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/nine_patch_layer_impl_unittest.cc
diff --git a/cc/nine_patch_layer_impl_unittest.cc b/cc/nine_patch_layer_impl_unittest.cc
index e63f25cada45d2b853abd5a4a163842943ccdd40..a18f3bb01c4f87db5e02ba46562deed9b7218d2c 100644
--- a/cc/nine_patch_layer_impl_unittest.cc
+++ b/cc/nine_patch_layer_impl_unittest.cc
@@ -14,7 +14,7 @@
#include "ui/gfx/safe_integer_conversions.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include <public/WebTransformationMatrix.h>
+#include "ui/gfx/transform.h"
namespace cc {
namespace {
@@ -46,8 +46,8 @@ TEST(NinePatchLayerImplTest, verifyDrawQuads)
// This scale should not affect the generated quad geometry, but only
// the shared draw transform.
- WebKit::WebTransformationMatrix transform;
- transform.scale(10);
+ gfx::Transform transform;
+ transform.PreconcatScale(10, 10);
layer->setDrawTransform(transform);
AppendQuadsData data;

Powered by Google App Engine
This is Rietveld 408576698