summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_view_aura.cc2
1 files changed, 1 insertions, 1 deletions
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 5fd9a2a..797481c 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1210,7 +1210,7 @@ void RenderWidgetHostViewAura::OnPaint(gfx::Canvas* canvas) {
if (backing_store) {
static_cast<BackingStoreAura*>(backing_store)->SkiaShowRect(gfx::Point(),
canvas);
- } else {
+ } else if (aura::Env::GetInstance()->render_white_bg()) {
canvas->FillRect(gfx::Rect(window_->bounds().size()), SK_ColorWHITE);
}
}