mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1180@942 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -9,7 +9,7 @@ Index: dom_storage_area.cc
|
|||||||
- bool success = backing_->CommitChanges(commit_batch->clear_all_first,
|
- bool success = backing_->CommitChanges(commit_batch->clear_all_first,
|
||||||
- commit_batch->changed_values);
|
- commit_batch->changed_values);
|
||||||
+ bool success = false;
|
+ bool success = false;
|
||||||
+ if (backing_.get()) {
|
+ if (backing_.get() && commit_batch) {
|
||||||
+ success = backing_->CommitChanges(commit_batch->clear_all_first,
|
+ success = backing_->CommitChanges(commit_batch->clear_all_first,
|
||||||
+ commit_batch->changed_values);
|
+ commit_batch->changed_values);
|
||||||
+ }
|
+ }
|
||||||
|
Reference in New Issue
Block a user