| Index: webkit/fileapi/file_system_context.cc
|
| ===================================================================
|
| --- webkit/fileapi/file_system_context.cc (revision 122721)
|
| +++ webkit/fileapi/file_system_context.cc (working copy)
|
| @@ -141,8 +141,8 @@
|
| }
|
|
|
| void FileSystemContext::DeleteOnCorrectThread() const {
|
| - if (!io_message_loop_->BelongsToCurrentThread()) {
|
| - io_message_loop_->DeleteSoon(FROM_HERE, this);
|
| + if (!io_message_loop_->BelongsToCurrentThread() &&
|
| + io_message_loop_->DeleteSoon(FROM_HERE, this)) {
|
| return;
|
| }
|
| delete this;
|
|
|