| Index: chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| index b85b75815391ca3da848969b4c4149a6116e30b2..65dbbcc9d6d8611ee95bf904db4c21aa0a340033 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| @@ -251,17 +251,6 @@ - (void)ensureContentsVisibleInSuperview:(NSView*)superview {
|
| NSViewHeightSizable];
|
|
|
| [contentsContainer setNeedsDisplay:YES];
|
| -
|
| - // Push the background color down to the RenderWidgetHostView, so that if
|
| - // there is a flash between contents appearing, it will be the theme's color,
|
| - // not white.
|
| - SkColor skBackgroundColor = SK_ColorWHITE;
|
| - const ThemeProvider* theme = [[[self view] window] themeProvider];
|
| - if (theme)
|
| - skBackgroundColor = theme->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND);
|
| - content::RenderWidgetHostView* rwhv = contents_->GetRenderWidgetHostView();
|
| - if (rwhv)
|
| - rwhv->SetBackgroundColor(skBackgroundColor);
|
| }
|
|
|
| - (void)updateFullscreenWidgetFrame {
|
|
|