From 4f03c4d1a4d37018d34b61c87dd5c54071a70bc5 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 5 Dec 2012 23:15:04 +0000 Subject: [PATCH] Add patch to fix crash in DomStorageArea::CommitChanges, try #2 (issue #809). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1180@942 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- cef1/patch/patches/dom_storage_809.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cef1/patch/patches/dom_storage_809.patch b/cef1/patch/patches/dom_storage_809.patch index 6a790a480..3d855e019 100644 --- a/cef1/patch/patches/dom_storage_809.patch +++ b/cef1/patch/patches/dom_storage_809.patch @@ -9,7 +9,7 @@ Index: dom_storage_area.cc - bool success = backing_->CommitChanges(commit_batch->clear_all_first, - commit_batch->changed_values); + bool success = false; -+ if (backing_.get()) { ++ if (backing_.get() && commit_batch) { + success = backing_->CommitChanges(commit_batch->clear_all_first, + commit_batch->changed_values); + }