mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix BrowserFileSystem context creation race condition between UI and IO threads (issue #442).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@404 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -95,7 +95,10 @@ WebKit::WebCookieJar* BrowserWebKitInit::cookieJar() {
|
||||
}
|
||||
|
||||
WebKit::WebFileSystem* BrowserWebKitInit::fileSystem() {
|
||||
return &file_system_;
|
||||
BrowserFileSystem* file_system = _Context->file_system();
|
||||
// Create the context if it doesn't already exist.
|
||||
file_system->CreateContext();
|
||||
return file_system;
|
||||
}
|
||||
|
||||
bool BrowserWebKitInit::sandboxEnabled() {
|
||||
|
Reference in New Issue
Block a user