diff options
Diffstat (limited to 'cc/layers/delegated_renderer_layer_impl_unittest.cc')
-rw-r--r-- | cc/layers/delegated_renderer_layer_impl_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/layers/delegated_renderer_layer_impl_unittest.cc b/cc/layers/delegated_renderer_layer_impl_unittest.cc index a2f1422..3f30d15 100644 --- a/cc/layers/delegated_renderer_layer_impl_unittest.cc +++ b/cc/layers/delegated_renderer_layer_impl_unittest.cc @@ -511,6 +511,8 @@ class DelegatedRendererLayerImplTestTransform transform.Scale(2.0, 2.0); transform.Translate(8.0, 8.0); delegated_renderer_layer->SetTransform(transform); + delegated_renderer_layer->SetTransformOrigin( + gfx::Point3F(75 * 0.5f, 75 * 0.5f, 0.0f)); ScopedPtrVector<RenderPass> delegated_render_passes; @@ -1386,7 +1388,6 @@ TEST_F(DelegatedRendererLayerImplTest, Occlusion) { FakeDelegatedRendererLayerImpl* delegated_renderer_layer_impl = impl.AddChildToRoot<FakeDelegatedRendererLayerImpl>(); - delegated_renderer_layer_impl->SetAnchorPoint(gfx::PointF()); delegated_renderer_layer_impl->SetBounds(layer_size); delegated_renderer_layer_impl->SetContentBounds(layer_size); delegated_renderer_layer_impl->SetDrawsContent(true); |