From f542076162c294c548492f89b5a30b76443e1c3b Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 14 Sep 2010 14:07:30 +0000 Subject: [PATCH] Create the FILE thread with IO message loop type because otherwise it will assert during cache access (issue #122). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@103 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- libcef/cef_process.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libcef/cef_process.cc b/libcef/cef_process.cc index 83f7e4778..aa424f63a 100644 --- a/libcef/cef_process.cc +++ b/libcef/cef_process.cc @@ -121,13 +121,7 @@ void CefProcess::CreateFileThread() { scoped_ptr thread(new CefProcessSubThread(CefThread::FILE)); base::Thread::Options options; -#if defined(OS_WIN) - // On Windows, the FILE thread needs to be have a UI message loop which pumps - // messages in such a way that Google Update can communicate back to us. - options.message_loop_type = MessageLoop::TYPE_UI; -#else options.message_loop_type = MessageLoop::TYPE_IO; -#endif if (!thread->StartWithOptions(options)) return; file_thread_.swap(thread);