From 62bd3dd1ed8ebf397650785d3a4599eebff06d26 Mon Sep 17 00:00:00 2001 From: jaydasika Date: Thu, 4 Feb 2016 10:52:55 -0800 Subject: cc :: Layer backface visibility determination without layer tree hierarchy This CL * adds bools use_local_transform_for_backface_visibility and should_check_backface_visibility to Layer and LayerImpl. * does backface visibility computation only when needed (using the bools and transform tree) BUG=581939 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1652263004 Cr-Commit-Position: refs/heads/master@{#373574} --- cc/blink/web_layer_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/blink') diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc index 56e1d0c..ca63d15 100644 --- a/cc/blink/web_layer_impl.cc +++ b/cc/blink/web_layer_impl.cc @@ -219,7 +219,7 @@ void WebLayerImpl::setRenderingContext(int context) { void WebLayerImpl::setUseParentBackfaceVisibility( bool use_parent_backface_visibility) { - layer_->set_use_parent_backface_visibility(use_parent_backface_visibility); + layer_->SetUseParentBackfaceVisibility(use_parent_backface_visibility); } void WebLayerImpl::setBackgroundColor(WebColor color) { -- cgit v1.1