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 3cf1e87a94518a85e351690e1f8e6acaaa2479a9..0f0a5b7d99043fa51cee0b93b92a1b91345785b9 100644 |
--- a/third_party/WebKit/Source/modules/nfc/NFC.cpp |
+++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp |
@@ -574,7 +574,7 @@ NFC::NFC(LocalFrame* frame) |
: PageVisibilityObserver(frame->page()), |
ContextLifecycleObserver(frame->document()), |
m_client(this) { |
- frame->interfaceProvider()->getInterface(mojo::GetProxy(&m_nfc)); |
+ frame->interfaceProvider()->getInterface(mojo::MakeRequest(&m_nfc)); |
m_nfc.set_connection_error_handler(convertToBaseCallback( |
WTF::bind(&NFC::OnConnectionError, wrapWeakPersistent(this)))); |
m_nfc->SetClient(m_client.CreateInterfacePtrAndBind()); |