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

Unified Diff: cc/math_util.h

Issue 11635037: cc: When the transform's scale is unknown, draw render surfaces at the resolution of the screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 0. Created 8 years 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/math_util.h
diff --git a/cc/math_util.h b/cc/math_util.h
index e3ed2d3f5c8c5f6df38b33a29ceaa9568bc55fa4..d47c80a7ded822f34aac51389e3ac62b4b8ccc86 100644
--- a/cc/math_util.h
+++ b/cc/math_util.h
@@ -106,7 +106,7 @@ public:
static void flattenTransformTo2d(gfx::Transform&);
- static gfx::Vector2dF computeTransform2dScaleComponents(const gfx::Transform&);
+ static gfx::Vector2dF computeTransform2dScaleComponents(const gfx::Transform&, float fallbackValue);
// Returns the smallest angle between the given two vectors in degrees. Neither vector is
// assumed to be normalized.

Powered by Google App Engine
This is Rietveld 408576698