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

Unified Diff: third_party/WebKit/Source/platform/transforms/TransformationMatrix.h

Issue 2482753002: Fix matrix3d transform under page zoom (Closed)
Patch Set: Add Transformation::zoom Created 4 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: third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
diff --git a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
index f9ae7d853bdd323278b4909a6db8639a0afe2669..4ffeb2a198cf448c45b62d1859e26bf79f1109b8 100644
--- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
+++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
@@ -337,6 +337,8 @@ class PLATFORM_EXPORT TransformationMatrix {
return applyTransformOrigin(origin.x(), origin.y(), origin.z());
}
+ TransformationMatrix& zoom(double zoomFactor);
+
bool isInvertible() const;
// This method returns the identity matrix if it is not invertible.

Powered by Google App Engine
This is Rietveld 408576698