From 5cb58cd42f39f980f31441b0ede3c35fabd4b359 Mon Sep 17 00:00:00 2001 From: Siyuan Liu Date: Wed, 23 Aug 2017 09:30:58 +0800 Subject: [PATCH] use nullptr instead of nullptr_t() --- atom/browser/api/atom_api_web_contents.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 06f1c4e8a9b5..d02e8085d929 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -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); } }