summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-06 21:59:00 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-06 21:59:00 +0000
commit0b8545bf5feeb7e5340eeff11279402c2d06a778 (patch)
treec160d8cbe09fdde5e675c0b3b11c363241faaf8d /chrome
parentc442b3eda2f1fdd4d1d4864c34c43cbaf223acae (diff)
downloadchromium_src-0b8545bf5feeb7e5340eeff11279402c2d06a778.zip
chromium_src-0b8545bf5feeb7e5340eeff11279402c2d06a778.tar.gz
chromium_src-0b8545bf5feeb7e5340eeff11279402c2d06a778.tar.bz2
Print Preview: Fixing more tests that were failing on official builds only.
BUG=none TEST=unit_tests --gtest_filter=PrintPreviewUIUnitTest.* should pass on official builds Review URL: http://codereview.chromium.org/9127007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/ui/webui/print_preview_ui_unittest.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/ui/webui/print_preview_ui_unittest.cc b/chrome/browser/ui/webui/print_preview_ui_unittest.cc
index a31fa83..0b4f873 100644
--- a/chrome/browser/ui/webui/print_preview_ui_unittest.cc
+++ b/chrome/browser/ui/webui/print_preview_ui_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -94,9 +94,7 @@ TEST_F(PrintPreviewUIUnitTest, PrintPreviewData) {
// Set and get the individual draft pages.
TEST_F(PrintPreviewUIUnitTest, PrintPreviewDraftPages) {
-#if !defined(GOOGLE_CHROME_BUILD) || defined(OS_CHROMEOS)
CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnablePrintPreview);
-#endif
ASSERT_TRUE(browser());
BrowserList::SetLastActive(browser());
ASSERT_TRUE(BrowserList::GetLastActive());
@@ -163,9 +161,7 @@ TEST_F(PrintPreviewUIUnitTest, PrintPreviewDraftPages) {
// Test the browser-side print preview cancellation functionality.
TEST_F(PrintPreviewUIUnitTest, GetCurrentPrintPreviewStatus) {
-#if !defined(GOOGLE_CHROME_BUILD) || defined(OS_CHROMEOS)
CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnablePrintPreview);
-#endif
ASSERT_TRUE(browser());
BrowserList::SetLastActive(browser());
ASSERT_TRUE(BrowserList::GetLastActive());