Simplify transparent backgrounds

https://chromium-review.googlesource.com/669646
This commit is contained in:
Aleksei Kuzmin 2018-03-13 15:38:55 +09:00
parent b6b7707dc3
commit 639be7f7bc

View file

@ -923,9 +923,9 @@ bool OffScreenRenderWidgetHostView::InstallTransparency() {
if (transparent_) {
SetBackgroundColor(SkColor());
#if defined(OS_MACOSX)
browser_compositor_->SetHasTransparentBackground(true);
browser_compositor_->SetBackgroundColor(SK_ColorTRANSPARENT);
#else
compositor_->SetHostHasTransparentBackground(true);
compositor_->SetBackgroundColor(SK_ColorTRANSPARENT);
#endif
return true;
}