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

Unified Diff: content/renderer/render_view_impl.cc

Issue 10445025: GetAllSavableResourceLinksForCurrentPage shouldn't be permitted to modify the array of savable sche… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated to remove cast added in r139253 Created 8 years, 7 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
« no previous file with comments | « no previous file | webkit/glue/dom_operations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index f37da15b1152ff40856cfe74aec26c7026c2a298..1fa891e115b2300c6cbcce713a50e770802574e9 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -4652,7 +4652,7 @@ void RenderViewImpl::OnGetAllSavableResourceLinksForCurrentPage(
webview(),
page_url,
&result,
- const_cast<const char**>(content::GetSavableSchemes()))) {
+ content::GetSavableSchemes())) {
// If something is wrong when collecting all savable resource links,
// send empty list to embedder(browser) to tell it failed.
referrer_urls_list.clear();
« no previous file with comments | « no previous file | webkit/glue/dom_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698