Index: components/exo/surface.cc |
diff --git a/components/exo/surface.cc b/components/exo/surface.cc |
index cf36bba64303ec95d5a188eaec4012012912fa9a..fed879a6684f54aefae2409c2da414d953a50a23 100644 |
--- a/components/exo/surface.cc |
+++ b/components/exo/surface.cc |
@@ -485,8 +485,7 @@ void Surface::CommitSurfaceHierarchy() { |
window_->layer()->SetBounds( |
gfx::Rect(window_->layer()->bounds().origin(), content_size_)); |
window_->layer()->SetFillsBoundsOpaquely( |
- state_.alpha == 1.0f && |
- |
+ state_.blend_mode == SkXfermode::kSrc_Mode || |
state_.opaque_region.contains( |
gfx::RectToSkIRect(gfx::Rect(content_size_)))); |
} |