| Index: third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| diff --git a/third_party/WebKit/Source/modules/nfc/NFC.cpp b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| index 746341502c18e008054c40a110b0aa016bb21114..c3712d71d4c3b16d7504571ef7ddca3dc2db5e49 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -438,7 +438,7 @@ bool setURL(const String& origin, nfc::NFCMessagePtr& message)
|
| } // anonymous namespace
|
|
|
| NFC::NFC(LocalFrame* frame)
|
| - : PageLifecycleObserver(frame->page())
|
| + : PageVisibilityObserver(frame->page())
|
| , ContextLifecycleObserver(frame->document())
|
| , m_client(this)
|
| {
|
| @@ -581,7 +581,7 @@ void NFC::OnWatch(mojo::WTFArray<uint32_t> ids, nfc::NFCMessagePtr)
|
|
|
| DEFINE_TRACE(NFC)
|
| {
|
| - PageLifecycleObserver::trace(visitor);
|
| + PageVisibilityObserver::trace(visitor);
|
| ContextLifecycleObserver::trace(visitor);
|
| visitor->trace(m_requests);
|
| }
|
|
|