Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index a05d7e3c62780a09594497cb82a7510129560743..95c9aca3035a4b1d4e6872280097945c05717e47 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -149,7 +149,6 @@ |
#include "core/rendering/style/StyleInheritedData.h" |
#include "core/timing/Performance.h" |
#include "modules/geolocation/GeolocationController.h" |
-#include "modules/notifications/NotificationController.h" |
#include "modules/notifications/NotificationPermissionClient.h" |
#include "modules/screen_orientation/ScreenOrientationController.h" |
#include "platform/TraceEvent.h" |
@@ -1573,11 +1572,6 @@ void WebLocalFrameImpl::setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame> frame) |
// FIXME: we shouldn't add overhead to every frame by registering these objects when they're not used. |
if (m_frame) { |
- OwnPtr<NotificationPresenterImpl> notificationPresenter = adoptPtr(new NotificationPresenterImpl()); |
- if (m_client) |
- notificationPresenter->initialize(m_client->notificationPresenter()); |
- |
- provideNotification(*m_frame, notificationPresenter.release()); |
provideNotificationPermissionClientTo(*m_frame, NotificationPermissionClientImpl::create()); |
provideUserMediaTo(*m_frame, &m_userMediaClientImpl); |
provideGeolocationTo(*m_frame, m_geolocationClientProxy.get()); |