| 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 c42f893072aa84851df47fe8b779404760dd3d7f..76b577cbd9c683a51f415e03ff092114a01de5f3 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -598,12 +598,14 @@ void NFC::dispose() {
|
| m_client.Close();
|
| }
|
|
|
| -void NFC::contextDestroyed() {
|
| +void NFC::contextDestroyed(ExecutionContext*) {
|
| m_nfc.reset();
|
| m_requests.clear();
|
| m_callbacks.clear();
|
| }
|
|
|
| +void NFC::contextDestroyed(Page*) {}
|
| +
|
| // https://w3c.github.io/web-nfc/#writing-or-pushing-content
|
| // https://w3c.github.io/web-nfc/#dom-nfc-push
|
| ScriptPromise NFC::push(ScriptState* scriptState,
|
|
|