mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 142910.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@703 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -107,7 +107,7 @@ WebStorageNamespace* BrowserDomStorageSystem::NamespaceImpl::copy() {
|
||||
int new_id = kInvalidNamespaceId;
|
||||
if (Context()) {
|
||||
new_id = Context()->AllocateSessionId();
|
||||
Context()->CloneSessionNamespace(namespace_id_, new_id);
|
||||
Context()->CloneSessionNamespace(namespace_id_, new_id, std::string());
|
||||
}
|
||||
return new NamespaceImpl(parent_, new_id);
|
||||
}
|
||||
@@ -215,7 +215,7 @@ WebStorageNamespace* BrowserDomStorageSystem::CreateLocalStorageNamespace() {
|
||||
|
||||
WebStorageNamespace* BrowserDomStorageSystem::CreateSessionStorageNamespace() {
|
||||
int id = context_->AllocateSessionId();
|
||||
context_->CreateSessionNamespace(id);
|
||||
context_->CreateSessionNamespace(id, std::string());
|
||||
return new NamespaceImpl(weak_factory_.GetWeakPtr(), id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user