Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: content/browser/browser_main.cc

Issue 8137012: Make an empty content browser test work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | content/content_shell.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | content/content_shell.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698