Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: content/public/renderer/document_state.h

Issue 10907021: Fix a memory leak in PasswordGenerationManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/document_state.h
diff --git a/content/public/renderer/document_state.h b/content/public/renderer/document_state.h
index 3d8d4f00e80f481cbdbce0c679809b41c191ec8f..d47891cb8aba9ed3a143255c1589e94a0484f1b4 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -177,7 +177,7 @@ class DocumentState : public WebKit::WebDataSource::ExtraData {
webkit::forms::PasswordForm* password_form_data() const {
return password_form_data_.get();
}
- void set_password_form_data(webkit::forms::PasswordForm* data);
+ void set_password_form_data(scoped_ptr<webkit::forms::PasswordForm> data);
const std::string& security_info() const { return security_info_; }
void set_security_info(const std::string& security_info) {

Powered by Google App Engine
This is Rietveld 408576698