diff --git a/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc b/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc index a56f6000e4..7213f4382c 100644 --- a/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc +++ b/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc @@ -7,7 +7,8 @@ #include "browser/win/win32_desktop_notifications/common.h" #include "browser/win/win32_desktop_notifications/toast.h" -using namespace std; +using std::make_shared; +using std::shared_ptr; namespace brightray { diff --git a/brightray/browser/win/win32_desktop_notifications/toast.cc b/brightray/browser/win/win32_desktop_notifications/toast.cc index 62aacdb1d0..e11eea5f4d 100644 --- a/brightray/browser/win/win32_desktop_notifications/toast.cc +++ b/brightray/browser/win/win32_desktop_notifications/toast.cc @@ -8,7 +8,8 @@ #pragma comment(lib, "msimg32.lib") #pragma comment(lib, "uxtheme.lib") -using namespace std; +using std::min; +using std::shared_ptr; namespace brightray {