use nullptr instead of nullptr_t()

This commit is contained in:
Siyuan Liu 2017-08-23 09:30:58 +08:00
parent eeb2e58ad8
commit 5cb58cd42f

View file

@ -760,7 +760,7 @@ void WebContents::DidChangeThemeColor(SkColor theme_color) {
if (theme_color != SK_ColorTRANSPARENT) {
Emit("did-change-theme-color", atom::ToRGBHex(theme_color));
} else {
Emit("did-change-theme-color", nullptr_t());
Emit("did-change-theme-color", nullptr);
}
}