mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Implement persistent localStorage with the new DOM storage backend (issue #603).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@704 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -100,6 +100,10 @@ void CefProcessUIThread::Init() {
|
||||
|
||||
PlatformInit();
|
||||
|
||||
// Initialize the blocking pool.
|
||||
blocking_pool_ = new base::SequencedWorkerPool(3, "BrowserBlocking");
|
||||
_Context->set_blocking_pool(blocking_pool_.get());
|
||||
|
||||
// Initialize WebKit.
|
||||
webkit_init_ = new BrowserWebKitInit();
|
||||
|
||||
@ -194,6 +198,11 @@ void CefProcessUIThread::CleanUp() {
|
||||
net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this);
|
||||
network_change_notifier_.reset();
|
||||
|
||||
// Shut down the blocking pool.
|
||||
_Context->set_blocking_pool(NULL);
|
||||
blocking_pool_->Shutdown();
|
||||
blocking_pool_ = NULL;
|
||||
|
||||
PlatformCleanUp();
|
||||
|
||||
_Context->CleanupResourceBundle();
|
||||
|
Reference in New Issue
Block a user