diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-30 05:40:05 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-30 05:40:05 +0000 |
commit | e3c17a5e4b81331771c9a032c99f8377e4c86abb (patch) | |
tree | bb4106dfe20b3c6455b767ee86486eb7fb7204f3 | |
parent | 7357b2dcb4238db04c1483a50614109ff661bee4 (diff) | |
download | chromium_src-e3c17a5e4b81331771c9a032c99f8377e4c86abb.zip chromium_src-e3c17a5e4b81331771c9a032c99f8377e4c86abb.tar.gz chromium_src-e3c17a5e4b81331771c9a032c99f8377e4c86abb.tar.bz2 |
Fix linux compilation for print
Review URL: http://codereview.chromium.org/115966
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17284 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/browser_init.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc index f5a2ec4..59258e2 100644 --- a/chrome/browser/browser_init.cc +++ b/chrome/browser/browser_init.cc @@ -424,12 +424,14 @@ bool BrowserInit::LaunchWithProfile::Launch(Profile* profile, RecordLaunchModeHistogram(LM_AS_WEBAPP); } +#if defined(OS_WIN) // Print the selected page if the command line switch exists. Note that the // current selected tab would be the page which will be printed. if (command_line_.HasSwitch(switches::kPrint)) { Browser* browser = BrowserList::GetLastActive(); browser->Print(); } +#endif // If we're recording or playing back, startup the EventRecorder now // unless otherwise specified. |