summaryrefslogtreecommitdiffstats
path: root/chrome/browser/message_window.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-02 06:42:05 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-02 06:42:05 +0000
commit0303f31c7e78cd5e1e54773c50b9216710630cfa (patch)
tree86a23bd959f744152f1bfe3a1ad91e965994a0d1 /chrome/browser/message_window.cc
parent0b7c092f7f5b196fd9085f1ab796a0c9ac9473a6 (diff)
downloadchromium_src-0303f31c7e78cd5e1e54773c50b9216710630cfa.zip
chromium_src-0303f31c7e78cd5e1e54773c50b9216710630cfa.tar.gz
chromium_src-0303f31c7e78cd5e1e54773c50b9216710630cfa.tar.bz2
Remove old web app code it's no longer needed. Simplifies startup a little.
Also fixes a regression from the BrowserInit porting work. I was a little over-zealous removing the CommandLine handling. It turns out that it's this that MessageWindow uses to convey the command line of the signalling process to the existing process, and that the existing process re-runs BrowserInit with the signalling process' command line. So I plumbed that back through again. Review URL: http://codereview.chromium.org/19746 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/message_window.cc')
-rw-r--r--chrome/browser/message_window.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/message_window.cc b/chrome/browser/message_window.cc
index 0375a5d..3bfced7 100644
--- a/chrome/browser/message_window.cc
+++ b/chrome/browser/message_window.cc
@@ -209,7 +209,11 @@ LRESULT MessageWindow::OnCopyData(HWND hwnd, const COPYDATASTRUCT* cds) {
NOTREACHED();
return TRUE;
}
- BrowserInit::ProcessCommandLine(cur_dir, prefs, false, profile, NULL);
+
+ // Run the browser startup sequence again, with the command line of the
+ // signalling process.
+ BrowserInit::ProcessCommandLine(parsed_command_line, cur_dir, prefs, false,
+ profile, NULL);
return TRUE;
}
return TRUE;