| 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 2da28efebd8d855e2dbbba5ba2e821fbcbd92ab6..c33e325cef30eaab1a331b7c0dcf7f6d7f8f6166 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -2768,6 +2768,16 @@ bool RenderWidgetHostViewAura::DelegatedFrameHostIsVisible() const {
|
| return !host_->is_hidden();
|
| }
|
|
|
| +SkColor RenderWidgetHostViewAura::DelegatedFrameHostGetGutterColor(
|
| + SkColor color) const {
|
| + // When making an element on the page fullscreen the element's background
|
| + // may not match the page's, so use black as the gutter color to avoid
|
| + // flashes of brighter colors during the transition.
|
| + if (host_->delegate() && host_->delegate()->IsFullscreenForCurrentTab(host_))
|
| + return SK_ColorBLACK;
|
| + return color;
|
| +}
|
| +
|
| gfx::Size RenderWidgetHostViewAura::DelegatedFrameHostDesiredSizeInDIP() const {
|
| return window_->bounds().size();
|
| }
|
|
|