Index: third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp |
diff --git a/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp b/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp |
index 0d2fc2692f85c5f1202121bf7d2e291b80fe3491..6bd3259ad8596ceb24dbf52ab60c90f2f341ee10 100644 |
--- a/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp |
+++ b/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp |
@@ -29,13 +29,13 @@ NavigatorNFC& NavigatorNFC::from(Navigator& navigator) |
return *supplement; |
} |
-NFC* NavigatorNFC::nfc(ExecutionContext* context, Navigator& navigator) |
+NFC* NavigatorNFC::nfc(Navigator& navigator) |
{ |
NavigatorNFC& self = NavigatorNFC::from(navigator); |
if (!self.m_nfc) { |
if (!navigator.frame()) |
return nullptr; |
- self.m_nfc = NFC::create(context, navigator.frame()); |
+ self.m_nfc = NFC::create(navigator.frame()); |
} |
return self.m_nfc.get(); |
} |