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

Unified Diff: content/browser/web_contents/navigation_entry_impl.cc

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Comments Created 8 years, 1 month 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/browser/web_contents/navigation_entry_impl.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index 53d70aaf7cbbfd868cdd20bbd1fa0b21ff0eba63..4c92057cb7e38eb679c04e1d930327d5498c50de 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -213,16 +213,15 @@ int64 NavigationEntryImpl::GetPostID() const {
}
void NavigationEntryImpl::SetBrowserInitiatedPostData(
- const base::RefCountedMemory* data) {
+ scoped_refptr<webkit_glue::ResourceRequestBody> data) {
browser_initiated_post_data_ = data;
}
-const base::RefCountedMemory*
+const scoped_refptr<webkit_glue::ResourceRequestBody>
NavigationEntryImpl::GetBrowserInitiatedPostData() const {
- return browser_initiated_post_data_.get();
+ return browser_initiated_post_data_;
}
-
const FaviconStatus& NavigationEntryImpl::GetFavicon() const {
return favicon_;
}

Powered by Google App Engine
This is Rietveld 408576698