Simplify transparent backgrounds
https://chromium-review.googlesource.com/669646
This commit is contained in:
parent
b6b7707dc3
commit
639be7f7bc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue