| 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 3c8ead0f55fc112ede7d91ecbea66b34ebd01430..d6b50f34cec1e4c3d7d5c166c7ccab81673ffc76 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -698,9 +698,10 @@ ScriptPromise NFC::cancelWatch(ScriptState* scriptState, long id) {
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
|
| m_requests.insert(resolver);
|
| - m_nfc->CancelWatch(id, convertToBaseCallback(WTF::bind(
|
| - &NFC::OnRequestCompleted, wrapPersistent(this),
|
| - wrapPersistent(resolver))));
|
| + m_nfc->CancelWatch(id,
|
| + convertToBaseCallback(WTF::bind(
|
| + &NFC::OnRequestCompleted, wrapPersistent(this),
|
| + wrapPersistent(resolver))));
|
| return resolver->promise();
|
| }
|
|
|
|
|