Chromium Code Reviews| Index: Source/modules/credentialmanager/LocalCredential.cpp |
| diff --git a/Source/modules/credentialmanager/LocalCredential.cpp b/Source/modules/credentialmanager/LocalCredential.cpp |
| index 3dc28eb6b34f476a65331dfbab081e34a0b9f639..d078d9dc003f709d667303711005c14b74838674 100644 |
| --- a/Source/modules/credentialmanager/LocalCredential.cpp |
| +++ b/Source/modules/credentialmanager/LocalCredential.cpp |
| @@ -32,7 +32,10 @@ LocalCredential::LocalCredential(WebLocalCredential* webLocalCredential) |
| LocalCredential::LocalCredential(const String& id, const String& password, const String& name, const KURL& avatar) |
| : Credential(PlatformLocalCredential::create(id, password, name, avatar)) |
| + , m_formData(DOMFormData::create()) |
| { |
| + m_formData->append("username", id); |
| + m_formData->append("password", password); |
| } |
| const String& LocalCredential::password() const |
| @@ -40,4 +43,10 @@ const String& LocalCredential::password() const |
| return static_cast<PlatformLocalCredential*>(m_platformCredential.get())->password(); |
| } |
| +void LocalCredential::trace(Visitor* visitor) |
| +{ |
| + Credential::trace(visitor); |
|
haraken
2014/10/20 08:16:03
We normally make this a tail call.
Mike West
2014/10/20 09:47:38
Done.
|
| + visitor->trace(m_formData); |
| +} |
| + |
| } // namespace blink |