Chromium Code Reviews| Index: runtime/bin/platform_win.cc |
| diff --git a/runtime/bin/platform_win.cc b/runtime/bin/platform_win.cc |
| index ee1ac498df549a8df474f1583689cf5e7e1b88c3..c6b119da598764c51bdd551d76d1ceaf4c00954f 100644 |
| --- a/runtime/bin/platform_win.cc |
| +++ b/runtime/bin/platform_win.cc |
| @@ -28,7 +28,7 @@ int Platform::script_index_ = 1; |
| char** Platform::argv_ = NULL; |
| bool Platform::Initialize() { |
| - // Nothing to do on Windows. |
| + SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX); |
| return true; |
| } |