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

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: Rebased to tip of tree and addressed feedback 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 8645bba6b06def4df3892d324e76334dc756fa81..7cc66c651b76380367ac5b65ad7d64d316b4ebd7 100644
--- a/cc/nine_patch_layer_impl_unittest.cc
+++ b/cc/nine_patch_layer_impl_unittest.cc
@@ -16,7 +16,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 {
@@ -48,8 +48,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