summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_browser_main.cc
diff options
context:
space:
mode:
authormichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-08 00:44:14 +0000
committermichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-08 00:44:14 +0000
commite5df69d4c55438249f0c7e32d9efb6a63181b440 (patch)
tree3c37ddb46bb2bdab0a882b33e42cdb6b7ef65ad4 /content/shell/shell_browser_main.cc
parent5a073091c79e3d46a522edbcd4a7565b7d8505e5 (diff)
downloadchromium_src-e5df69d4c55438249f0c7e32d9efb6a63181b440.zip
chromium_src-e5df69d4c55438249f0c7e32d9efb6a63181b440.tar.gz
chromium_src-e5df69d4c55438249f0c7e32d9efb6a63181b440.tar.bz2
- Removed the message loop from shell_browser_main_parts.cc. We don't need
that code as the message loop will be initialized by BrowserMainRunner. - Cleared the unused code in shell_browser_main.cc BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10536018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141134 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_browser_main.cc')
-rw-r--r--content/shell/shell_browser_main.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
index 01c68e3..f56af33 100644
--- a/content/shell/shell_browser_main.cc
+++ b/content/shell/shell_browser_main.cc
@@ -59,13 +59,6 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) {
int exit_code = main_runner_->Initialize(parameters);
-#if defined(OS_ANDROID)
- DCHECK(exit_code < 0);
-
- // Return 0 so that we do NOT trigger the default behavior. On Android, the
- // UI message loop is managed by the Java application.
- return 0;
-#else
if (exit_code >= 0)
return exit_code;
@@ -115,5 +108,4 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) {
main_runner_->Shutdown();
return exit_code;
-#endif
}