| 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 c8e487fa695aa363536bb2fcf4d5b6a2f0f903d0..019cfd8e102749d7f20468e363c3c03d93c77276 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -690,7 +690,7 @@ ScriptPromise NFC::cancelWatch(ScriptState* scriptState, long id) {
|
| return promise;
|
|
|
| if (id) {
|
| - m_callbacks.remove(id);
|
| + m_callbacks.erase(id);
|
| } else {
|
| return ScriptPromise::rejectWithDOMException(
|
| scriptState, DOMException::create(NotFoundError));
|
|
|