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_) {
|
if (transparent_) {
|
||||||
SetBackgroundColor(SkColor());
|
SetBackgroundColor(SkColor());
|
||||||
#if defined(OS_MACOSX)
|
#if defined(OS_MACOSX)
|
||||||
browser_compositor_->SetHasTransparentBackground(true);
|
browser_compositor_->SetBackgroundColor(SK_ColorTRANSPARENT);
|
||||||
#else
|
#else
|
||||||
compositor_->SetHostHasTransparentBackground(true);
|
compositor_->SetBackgroundColor(SK_ColorTRANSPARENT);
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue