Chromium Code Reviews| Index: content/browser/browser_main.cc |
| =================================================================== |
| --- content/browser/browser_main.cc (revision 103728) |
| +++ content/browser/browser_main.cc (working copy) |
| @@ -340,6 +340,9 @@ |
| } |
| void BrowserMainParts::MainMessageLoopRun() { |
| + if (parameters().ui_task) |
| + MessageLoopForUI::current()->PostTask(FROM_HERE, parameters().ui_task); |
| + |
| #if defined(OS_MACOSX) |
| MessageLoopForUI::current()->Run(); |
| #else |