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

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: 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index ff65b17e809b7afe595f05d6e3e252c83f256b1e..fdafc726e363bfacc79f1f18d4bddf175bae13c1 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -768,7 +768,7 @@ void Layer::RecomputeTransform() {
transform.ConcatTransform(transform_);
transform.ConcatTranslate(bounds_.x(), bounds_.y());
transform.ConcatTransform(scale_translate);
- cc_layer_->setTransform(WebKit::WebTransformationMatrix(transform));
+ cc_layer_->setTransform(transform);
}
void Layer::RecomputeDrawsContentAndUVRect() {

Powered by Google App Engine
This is Rietveld 408576698