chore: prefer empty() check for readability (#26109)
This commit is contained in:
parent
d9db9873fd
commit
554ad93d45
11 changed files with 15 additions and 15 deletions
|
@ -683,7 +683,7 @@ void OffScreenRenderWidgetHostView::CompositeFrame(
|
|||
SkBitmap frame;
|
||||
|
||||
// Optimize for the case when there is no popup
|
||||
if (proxy_views_.size() == 0 && !popup_host_view_) {
|
||||
if (proxy_views_.empty() && !popup_host_view_) {
|
||||
frame = GetBacking();
|
||||
} else {
|
||||
frame.allocN32Pixels(size_in_pixels.width(), size_in_pixels.height(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue