| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 76095dec09b29960437a20f3def8b60219e15fc9..3d975eec08946731fe7701ecd3feddd3d27a5e1c 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1108,7 +1108,7 @@ void LayerTreeHostImpl::Readback(void* pixels,
|
| }
|
|
|
| bool LayerTreeHostImpl::haveRootScrollLayer() const {
|
| - return RootScrollLayer();
|
| + return !!RootScrollLayer();
|
| }
|
|
|
| LayerImpl* LayerTreeHostImpl::RootLayer() const {
|
| @@ -1395,7 +1395,7 @@ void LayerTreeHostImpl::setNeedsRedraw() {
|
|
|
| bool LayerTreeHostImpl::EnsureRenderSurfaceLayerList() {
|
| active_tree_->UpdateDrawProperties(LayerTreeImpl::UPDATE_ACTIVE_TREE);
|
| - return active_tree_->RenderSurfaceLayerList().size();
|
| + return !active_tree_->RenderSurfaceLayerList().empty();
|
| }
|
|
|
| InputHandlerClient::ScrollStatus LayerTreeHostImpl::ScrollBegin(
|
|
|