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