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 6fdcf891b8f50706eee422addcfa1bb682ffe518..7981b9254389a6165e6f67c7bca1f2937104f643 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -494,9 +494,9 @@ RenderWidgetHostViewAura::RenderWidgetHostViewAura(RenderWidgetHost* host, |
RenderViewHost* rvh = RenderViewHost::From(host_); |
if (rvh) { |
- // TODO(mostynb): actually use prefs. Landing this as a separate CL |
- // first to rebaseline some unreliable layout tests. |
- ignore_result(rvh->GetWebkitPreferences()); |
+ WebPreferences prefs = rvh->GetWebkitPreferences(); |
+ background_color_ = prefs.default_background_color; |
+ host_->SetBackgroundOpaque(GetBackgroundOpaque()); |
chrishtr
2016/07/29 18:15:41
Why do you also need to set whether it's opaque? I
|
} |
} |