| Index: third_party/WebKit/Source/modules/nfc/NFC.h
|
| diff --git a/third_party/WebKit/Source/modules/nfc/NFC.h b/third_party/WebKit/Source/modules/nfc/NFC.h
|
| index 1c6d4d88da7ffc521f327fca9edb7bab4015c7a7..c476de10de198b2d5ba00ebe214cc371a904886e 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.h
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.h
|
| @@ -9,7 +9,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "bindings/modules/v8/StringOrArrayBufferOrNFCMessage.h"
|
| #include "core/dom/ContextLifecycleObserver.h"
|
| -#include "core/page/PageLifecycleObserver.h"
|
| +#include "core/page/PageVisibilityObserver.h"
|
| #include "device/nfc/nfc.mojom-blink.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
|
|
| @@ -25,7 +25,7 @@ class ServiceRegistry;
|
| class NFC final
|
| : public GarbageCollectedFinalized<NFC>
|
| , public ScriptWrappable
|
| - , public PageLifecycleObserver
|
| + , public PageVisibilityObserver
|
| , public ContextLifecycleObserver
|
| , public device::nfc::blink::NFCClient {
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -57,7 +57,7 @@ public:
|
| // Cancels all watch operations.
|
| ScriptPromise cancelWatch(ScriptState*);
|
|
|
| - // Implementation of PageLifecycleObserver.
|
| + // Implementation of PageVisibilityObserver.
|
| void pageVisibilityChanged() override;
|
|
|
| // Interface required by garbage collection.
|
|
|