diff --git a/atom/browser/osr/osr_render_widget_host_view.cc b/atom/browser/osr/osr_render_widget_host_view.cc index 10075b2f9eb3..7bc7c69afeaf 100644 --- a/atom/browser/osr/osr_render_widget_host_view.cc +++ b/atom/browser/osr/osr_render_widget_host_view.cc @@ -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; }