| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 561c2fb041108fd4081f836525303c6e9c18be86..23708d9e4f9054cc2e2c0060204b85ad33921986 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -838,7 +838,7 @@ void ContentViewCoreImpl::AttachLayer(scoped_refptr<cc::Layer> layer) {
|
| void ContentViewCoreImpl::RemoveLayer(scoped_refptr<cc::Layer> layer) {
|
| layer->RemoveFromParent();
|
|
|
| - if (!root_layer_->children().size())
|
| + if (root_layer_->children().empty())
|
| root_layer_->SetIsDrawable(true);
|
| }
|
|
|
|
|