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

Unified Diff: cc/test/animation_test_common.cc

Issue 465853004: Moving RenderSurface creation outside of CalcDrawProps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: cc/test/animation_test_common.cc
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc
index fba316669fdde60797c2f3d81d3858cf89f4f5df..064c7bc0350a13487862f34b95424231ea53afcd 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -168,6 +168,8 @@ bool FakeTransformTransition::AffectsScale() const { return false; }
bool FakeTransformTransition::IsTranslation() const { return true; }
+bool FakeTransformTransition::PreservesAxisAlignment() const { return true; }
+
bool FakeTransformTransition::MaximumTargetScale(bool forward_direction,
float* max_scale) const {
*max_scale = 1.f;

Powered by Google App Engine
This is Rietveld 408576698