From 6f2609f9d220d05588a188a4a3bbdc2c17ae90e6 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Wed, 21 Feb 2018 11:28:53 +0100 Subject: [PATCH] Remove outdated comments --- atom/renderer/renderer_client_base.cc | 2 -- 1 file changed, 2 deletions(-) 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); }