| 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 bca190acdaa2fec62a0b332fe9572cffa4de49d8..8947830f746e5fb7f7685ce7d2e7a87bfe8aecd6 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -444,7 +444,7 @@ NFC::NFC(LocalFrame* frame)
|
| {
|
| ThreadState::current()->registerPreFinalizer(this);
|
| frame->serviceRegistry()->connectToRemoteService(mojo::GetProxy(&m_nfc));
|
| - m_nfc.set_connection_error_handler(createBaseCallback(bind(&NFC::OnConnectionError, WeakPersistentThisPointer<NFC>(this))));
|
| + m_nfc.set_connection_error_handler(createBaseCallback(bind(&NFC::OnConnectionError, wrapWeakPersistent(this))));
|
| m_nfc->SetClient(m_client.CreateInterfacePtrAndBind());
|
| }
|
|
|
|
|