| Index: third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PlatformEventController.cpp b/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| index 032c8e9d38c93c3c68069f39d4a1f01d74a52957..e31fb2708c75ab873c60c816f614c370e1ffbf02 100644
|
| --- a/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| @@ -8,8 +8,8 @@
|
|
|
| namespace blink {
|
|
|
| -PlatformEventController::PlatformEventController(Page* page)
|
| - : PageVisibilityObserver(page),
|
| +PlatformEventController::PlatformEventController(LocalFrame* frame)
|
| + : PageVisibilityObserver(frame ? frame->page() : nullptr),
|
| m_hasEventListener(false),
|
| m_isActive(false),
|
| m_timer(this, &PlatformEventController::oneShotCallback) {}
|
|
|