Remove outdated comments
This commit is contained in:
parent
d31d2087a3
commit
6f2609f9d2
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue