| Index: Source/platform/exported/WebCredential.cpp
|
| diff --git a/Source/platform/exported/WebCredential.cpp b/Source/platform/exported/WebCredential.cpp
|
| index d4e678e30dd24fc7bdaf851e825e03c18b2cfb90..2289b751005024a21fbfdd97bfaa5228fa4fd707 100644
|
| --- a/Source/platform/exported/WebCredential.cpp
|
| +++ b/Source/platform/exported/WebCredential.cpp
|
| @@ -7,15 +7,15 @@
|
|
|
| #include "platform/credentialmanager/PlatformCredential.h"
|
| #include "public/platform/WebFederatedCredential.h"
|
| -#include "public/platform/WebLocalCredential.h"
|
| +#include "public/platform/WebPasswordCredential.h"
|
|
|
| namespace blink {
|
|
|
| WebCredential WebCredential::create(PlatformCredential* credential)
|
| {
|
| - if (credential->isLocal()) {
|
| - WebLocalCredential local(credential);
|
| - return local;
|
| + if (credential->isPassword()) {
|
| + WebPasswordCredential password(credential);
|
| + return password;
|
| }
|
|
|
| if (credential->isFederated()) {
|
| @@ -78,9 +78,9 @@ WebString WebCredential::type() const
|
| return m_platformCredential->type();
|
| }
|
|
|
| -bool WebCredential::isLocalCredential() const
|
| +bool WebCredential::isPasswordCredential() const
|
| {
|
| - return m_platformCredential->isLocal();
|
| + return m_platformCredential->isPassword();
|
| }
|
|
|
| bool WebCredential::isFederatedCredential() const
|
|
|