| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| index 95c44a36eab102bade3fca9e181afd677755d6fc..a1419c2fa3433bc8cb126386419965641363d846 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -802,8 +802,9 @@ gfx::Rect RenderWidgetHostViewAura::GetViewBounds() const {
|
| return window_->GetBoundsInScreen();
|
| }
|
|
|
| -void RenderWidgetHostViewAura::SetBackgroundOpaque(bool opaque) {
|
| - RenderWidgetHostViewBase::SetBackgroundOpaque(opaque);
|
| +void RenderWidgetHostViewAura::SetBackgroundColor(SkColor color) {
|
| + RenderWidgetHostViewBase::SetBackgroundColor(color);
|
| + bool opaque = GetBackgroundOpaque();
|
| host_->SetBackgroundOpaque(opaque);
|
| window_->layer()->SetFillsBoundsOpaquely(opaque);
|
| }
|
| @@ -1687,7 +1688,7 @@ void RenderWidgetHostViewAura::OnPaint(gfx::Canvas* canvas) {
|
| // canvas coming from the compositor to already be initialized as
|
| // transparent.
|
| if (window_->layer()->fills_bounds_opaquely())
|
| - canvas->DrawColor(SK_ColorWHITE);
|
| + canvas->DrawColor(background_color_);
|
| }
|
|
|
| void RenderWidgetHostViewAura::OnDeviceScaleFactorChanged(
|
|
|