Index: Source/modules/credentialmanager/Credential.cpp |
diff --git a/Source/modules/credentialmanager/Credential.cpp b/Source/modules/credentialmanager/Credential.cpp |
index b865e122ebe1d0864ad55cd43d53a5d21c6aa43e..48414333671156aa66e920cb7d9d68d83d29b198 100644 |
--- a/Source/modules/credentialmanager/Credential.cpp |
+++ b/Source/modules/credentialmanager/Credential.cpp |
@@ -10,19 +10,6 @@ |
namespace blink { |
-Credential* Credential::create(const String& id, const String& name, const KURL& icon) |
-{ |
- return new Credential(id, name, icon); |
-} |
- |
-Credential* Credential::create(const String& id, const String& name, const String& icon, ExceptionState& exceptionState) |
-{ |
- KURL iconURL = parseStringAsURL(icon, exceptionState); |
- if (exceptionState.hadException()) |
- return nullptr; |
- return new Credential(id, name, iconURL); |
-} |
- |
Credential::Credential(PlatformCredential* credential) |
: m_platformCredential(credential) |
{ |