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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 687873004: Introduce Property Trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wip-awoloszyn2
Patch Set: ComputeTransform now inits result to identity. Created 6 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/trees/layer_tree_host_common_unittest.cc
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
index f8e5be97b2b1b1037b19188f48ce6432a79a3d54..b1fbb8eac3f887bab28bf9a2a9f31a6a605a2a90 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -6,6 +6,7 @@
#include <algorithm>
#include <set>
+#include <tuple>
#include "cc/animation/layer_animation_controller.h"
#include "cc/animation/transform_operations.h"
@@ -670,7 +671,7 @@ TEST_F(LayerTreeHostCommonTest, TransformsForReplica) {
gfx::Transform replica_composite_transform =
parent_composite_transform * replica_layer_transform *
Inverse(surface_sublayer_transform);
-
+ child_replica->SetIsDrawable(true);
// Child's render surface should not exist yet.
ASSERT_FALSE(child->render_surface());

Powered by Google App Engine
This is Rietveld 408576698