| 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 30b077829494fb6bb1316c24d6a23e825e37062a..8b16632d25cd3a6f0feae870be0db68ecdaafc97 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -2849,6 +2849,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();
|
| }
|
|
|