| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 58736d2d9419ffdd4bd603af5535163be5073668..92e345c61d5f54db8306e94515d8d2a62c5b704d 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -120,6 +120,7 @@
|
| #include "modules/geolocation/GeolocationController.h"
|
| #include "modules/indexeddb/InspectorIndexedDBAgent.h"
|
| #include "modules/notifications/NotificationController.h"
|
| +#include "modules/pushmessaging/PushController.h"
|
| #include "painting/ContinuousPainter.h"
|
| #include "platform/ContextMenu.h"
|
| #include "platform/ContextMenuItem.h"
|
| @@ -412,6 +413,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| m_page->makeOrdinary();
|
|
|
| if (m_client) {
|
| + providePushControllerTo(*m_page, m_client->webPushClient());
|
| setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor);
|
| setVisibilityState(m_client->visibilityState(), true);
|
| }
|
|
|