From 051e71e1b702970eb39302abbe29836239036a3d Mon Sep 17 00:00:00 2001 From: "mdm@chromium.org" Date: Sat, 2 Jun 2012 22:13:17 +0000 Subject: Linux: avoid using a NULL MessageLoopForIO to get its MessageLoopProxy in ProxySettingGetterImplKDE. BUG=130761 Review URL: https://chromiumcodereview.appspot.com/10497002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140204 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_config_service_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/proxy/proxy_config_service_linux.cc b/net/proxy/proxy_config_service_linux.cc index 732ac59..5012d5f 100644 --- a/net/proxy/proxy_config_service_linux.cc +++ b/net/proxy/proxy_config_service_linux.cc @@ -1032,7 +1032,7 @@ class SettingGetterImplKDE : public ProxyConfigServiceLinux::SettingGetter, } virtual base::SingleThreadTaskRunner* GetNotificationTaskRunner() OVERRIDE { - return file_loop_->message_loop_proxy(); + return file_loop_ ? file_loop_->message_loop_proxy() : NULL; } // Implement base::MessagePumpLibevent::Watcher. -- cgit v1.1