diff --git a/atom/renderer/renderer_client_base.cc b/atom/renderer/renderer_client_base.cc index 06e71c012c5c..89af0932d10a 100644 --- a/atom/renderer/renderer_client_base.cc +++ b/atom/renderer/renderer_client_base.cc @@ -167,9 +167,7 @@ void RendererClientBase::RenderViewCreated(content::RenderView* render_view) { if (cmd->HasSwitch(switches::kGuestInstanceID)) { // webview. web_frame_widget->SetBaseBackgroundColor(SK_ColorTRANSPARENT); } else { // normal window. - // If backgroundColor is specified then use it. std::string name = cmd->GetSwitchValueASCII(switches::kBackgroundColor); - // Otherwise use white background. SkColor color = name.empty() ? SK_ColorTRANSPARENT : ParseHexColor(name); web_frame_widget->SetBaseBackgroundColor(color); }