Remove outdated comments

This commit is contained in:
Heilig Benedek 2018-02-21 11:28:53 +01:00 committed by GitHub
parent d31d2087a3
commit 6f2609f9d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}