mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Update to Chromium revision 131752.
- Add support for multi_threaded_message_loop run mode on Windows (issue #522). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@586 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -37,17 +37,17 @@ CefBrowserMainParts::CefBrowserMainParts(
|
||||
const content::MainFunctionParams& parameters)
|
||||
: BrowserMainParts(),
|
||||
devtools_delegate_(NULL) {
|
||||
CefContentBrowserClient* browser_client =
|
||||
static_cast<CefContentBrowserClient*>(
|
||||
content::GetContentClient()->browser());
|
||||
browser_client->set_browser_main_parts(this);
|
||||
}
|
||||
|
||||
CefBrowserMainParts::~CefBrowserMainParts() {
|
||||
}
|
||||
|
||||
MessageLoop* CefBrowserMainParts::GetMainMessageLoop() {
|
||||
return new CefBrowserMessageLoop();
|
||||
void CefBrowserMainParts::PreMainMessageLoopStart() {
|
||||
if (!MessageLoop::current()) {
|
||||
// Create the browser message loop.
|
||||
message_loop_.reset(new CefBrowserMessageLoop());
|
||||
message_loop_->set_thread_name("CrBrowserMain");
|
||||
}
|
||||
}
|
||||
|
||||
int CefBrowserMainParts::PreCreateThreads() {
|
||||
|
Reference in New Issue
Block a user