| Index: chrome/browser/notifications/desktop_notification_service_win.cc
|
| diff --git a/chrome/browser/notifications/desktop_notification_service_win.cc b/chrome/browser/notifications/desktop_notification_service_win.cc
|
| index 3f9bd29f8d3277a936e4866bbc98fef09ab5dccc..7f9035b6854db7dfd14eecfdcd6634969192d1a6 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service_win.cc
|
| +++ b/chrome/browser/notifications/desktop_notification_service_win.cc
|
| @@ -23,7 +23,7 @@ bool DesktopNotificationService::CancelDesktopNotification(
|
| scoped_refptr<NotificationObjectProxy> proxy(
|
| new NotificationObjectProxy(process_id, route_id, notification_id,
|
| false));
|
| - if (base::win::GetMetroModule()) {
|
| + if (base::win::IsMetroProcess()) {
|
| MetroCancelNotification cancel_metro_notification =
|
| reinterpret_cast<MetroCancelNotification>(GetProcAddress(
|
| base::win::GetMetroModule(), "CancelNotification"));
|
| @@ -36,7 +36,7 @@ bool DesktopNotificationService::CancelDesktopNotification(
|
|
|
| void DesktopNotificationService::ShowNotification(
|
| const Notification& notification) {
|
| - if (base::win::GetMetroModule()) {
|
| + if (base::win::IsMetroProcess()) {
|
| MetroDisplayNotification display_metro_notification =
|
| reinterpret_cast<MetroDisplayNotification>(GetProcAddress(
|
| base::win::GetMetroModule(), "DisplayNotification"));
|
|
|