| Index: Source/modules/notifications/DOMWindowNotifications.cpp
|
| diff --git a/Source/modules/notifications/DOMWindowNotifications.cpp b/Source/modules/notifications/DOMWindowNotifications.cpp
|
| index 9a64fb4191b9f38414c8ca2d7872f5d0b21b9092..4d2f569f09969be7e765269c316b2d4060517c13 100644
|
| --- a/Source/modules/notifications/DOMWindowNotifications.cpp
|
| +++ b/Source/modules/notifications/DOMWindowNotifications.cpp
|
| @@ -90,14 +90,14 @@ NotificationCenter* DOMWindowNotifications::webkitNotifications()
|
| Document* document = m_window->document();
|
| if (!document)
|
| return 0;
|
| -
|
| +
|
| Page* page = document->page();
|
| if (!page)
|
| return 0;
|
|
|
| NotificationClient* provider = NotificationController::clientFrom(page);
|
| - if (provider)
|
| - m_notificationCenter = NotificationCenter::create(document, provider);
|
| + if (provider)
|
| + m_notificationCenter = NotificationCenter::create(document, provider);
|
|
|
| return m_notificationCenter.get();
|
| }
|
|
|