Do not accidentally change the behavior of did-change-theme-color
This commit is contained in:
parent
7e0593950c
commit
cee1c459c7
1 changed files with 1 additions and 1 deletions
|
@ -770,7 +770,7 @@ void WebContents::DidChangeThemeColor(SkColor theme_color) {
|
||||||
if (theme_color != SK_ColorTRANSPARENT) {
|
if (theme_color != SK_ColorTRANSPARENT) {
|
||||||
Emit("did-change-theme-color", atom::ToRGBHex(theme_color));
|
Emit("did-change-theme-color", atom::ToRGBHex(theme_color));
|
||||||
} else {
|
} else {
|
||||||
Emit("did-change-theme-color", atom::ToRGBHex(SK_ColorTRANSPARENT));
|
Emit("did-change-theme-color", nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue