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

Unified Diff: net/proxy/proxy_config_service_linux.cc

Issue 7621026: Linux: fix a missing dereference that prevented GNOME 3 proxy settings from being queried. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_config_service_linux.cc
===================================================================
--- net/proxy/proxy_config_service_linux.cc (revision 96969)
+++ net/proxy/proxy_config_service_linux.cc (working copy)
@@ -557,7 +557,7 @@
bool SchemaExists(const char* schema_name) {
const gchar* const* schemas = g_settings_list_schemas();
vandebo (ex-Chrome) 2011/08/16 20:59:10 I can see how this came about, since the double st
while (*schemas) {
- if (strcmp(schema_name, reinterpret_cast<const char*>(schemas)) == 0)
+ if (strcmp(schema_name, static_cast<const char*>(*schemas)) == 0)
return true;
schemas++;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698