Index: components/exo/surface.cc |
diff --git a/components/exo/surface.cc b/components/exo/surface.cc |
index 07e22f0b906029b002da992a7bb1c3960841fa26..c18dc2f1bd679e2c13200848b4ccff450bbc61c8 100644 |
--- a/components/exo/surface.cc |
+++ b/components/exo/surface.cc |
@@ -477,8 +477,7 @@ void Surface::CommitSurfaceHierarchy() { |
window_->layer()->SetBounds( |
gfx::Rect(window_->layer()->bounds().origin(), content_size_)); |
window_->layer()->SetFillsBoundsOpaquely( |
- state_.alpha == 1.0f && |
jbauman
2016/06/27 20:51:41
So if the blend mode is SkXfermode::kSrc_Mode then
reveman
2016/06/27 20:54:21
We should probably define this as part of the alph
|
- |
+ state_.blend_mode == SkXfermode::kSrc_Mode || |
state_.opaque_region.contains( |
gfx::RectToSkIRect(gfx::Rect(content_size_)))); |
} |