Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index c2c2e5b9e04606a0e2265e03f990d8167938a114..deaff587474717f79587ef1725464ccc3e5a9014 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -136,7 +136,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" |
@@ -1556,11 +1555,6 @@ void WebLocalFrameImpl::setCoreFrame(PassRefPtr<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()); |