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

Unified Diff: ui/compositor/layer.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: Patch for landing 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
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 00d0c5ae26ba0f2cae90b9dbaeadff22fb9c3dae..715b8e1a09538b4349723a7656519531fe4b258a 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -772,7 +772,7 @@ void Layer::RecomputeTransform() {
translate.Translate(bounds_.x(), bounds_.y());
transform.ConcatTransform(translate);
transform.ConcatTransform(scale_translate);
- cc_layer_->setTransform(WebKit::WebTransformationMatrix(transform));
+ cc_layer_->setTransform(transform);
}
void Layer::RecomputeDrawsContentAndUVRect() {
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698