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

Unified Diff: ui/gfx/transform.cc

Issue 10803037: [WIP] ash/extensions: Add experimental extension support for window-management in ash. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-152100 Created 8 years, 4 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
« no previous file with comments | « chrome/common/extensions/permissions/api_permission.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/transform.cc
diff --git a/ui/gfx/transform.cc b/ui/gfx/transform.cc
index 123ca2bf848a20ca759af9659321ab37dadca07a..23dbd5e0281cef4e448886a2794138745e49eec1 100644
--- a/ui/gfx/transform.cc
+++ b/ui/gfx/transform.cc
@@ -76,7 +76,7 @@ void Transform::SetTranslate(float x, float y) {
void Transform::SetPerspectiveDepth(float depth) {
SkMatrix44 m;
m.set(3, 2, -1 / depth);
- matrix_ = m;
+ matrix_.postConcat(m);
}
void Transform::ConcatRotate(float degree) {
« no previous file with comments | « chrome/common/extensions/permissions/api_permission.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698