| Index: chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| diff --git a/chrome/browser/ui/webui/options/advanced_options_utils_win.cc b/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| index f7bfb7353728f492830594765a6af616332771f7..2e26678e5fa9badfd2eddcf94d2d6420f0601b4d 100644
|
| --- a/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| +++ b/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| @@ -16,6 +16,9 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/browser/tab_contents/tab_contents_view.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| +
|
| +using content::BrowserThread;
|
|
|
| // Callback that opens the Internet Options control panel dialog with the
|
| // Connections tab selected.
|
| @@ -45,10 +48,10 @@ void OpenConnectionDialogCallback() {
|
|
|
| void AdvancedOptionsUtilities::ShowNetworkProxySettings(
|
| TabContents* tab_contents) {
|
| - base::Thread* thread = g_browser_process->file_thread();
|
| - DCHECK(thread);
|
| - thread->message_loop()->PostTask(FROM_HERE,
|
| - base::Bind(&OpenConnectionDialogCallback));
|
| + DCHECK(BrowserThread::IsMessageLoopValid(BrowserThread::FILE));
|
| + BrowserThread::PostTask(BrowserThread::FILE,
|
| + FROM_HERE,
|
| + base::Bind(&OpenConnectionDialogCallback));
|
| }
|
|
|
| void AdvancedOptionsUtilities::ShowManageSSLCertificates(
|
|
|