Chromium Code Reviews| Index: shell/child_main.cc |
| diff --git a/shell/child_main.cc b/shell/child_main.cc |
| index 4bab35e70d2e4d7c720f5279e69eb73d79f6c32b..6fc14b31a0d8d123b5573ff5be55a1b75d900231 100644 |
| --- a/shell/child_main.cc |
| +++ b/shell/child_main.cc |
| @@ -65,7 +65,8 @@ class Blocker { |
| void Block() { |
| DCHECK(run_after_.is_null()); |
| event_.Wait(); |
| - run_after_.Run(); |
| + if (!run_after_.is_null()) |
| + run_after_.Run(); |
| } |
| Unblocker GetUnblocker() { return Unblocker(this); } |