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

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

Issue 84703003: Allow data URL > 2MB for loadDataWithBaseURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tidy up Created 7 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/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 950490043140f1c9594b2cb3aabc20394d415c81..bbe6392f4e0ed3bc0ab6fe8a44ad9a4ee06b9402 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -219,6 +219,7 @@ void MakeNavigateParams(const NavigationEntryImpl& entry,
}
params->url = entry.GetURL();
if (!entry.GetBaseURLForDataURL().is_empty()) {
+ params->data_for_data_url = entry.GetDataForDataURL();
params->base_url_for_data_url = entry.GetBaseURLForDataURL();
params->history_url_for_data_url = entry.GetVirtualURL();
}

Powered by Google App Engine
This is Rietveld 408576698