summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/testing_browser_process.cc
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 20:44:26 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 20:44:26 +0000
commit1fe88ff2d6f84f181e5a7942a06ab7a2d899ef89 (patch)
treebce4a70fc1c9293e033bec845c80f893e7cf1a06 /chrome/test/base/testing_browser_process.cc
parenta5c0fd98173a9a4fc5674d44afc1594996fc05e0 (diff)
downloadchromium_src-1fe88ff2d6f84f181e5a7942a06ab7a2d899ef89.zip
chromium_src-1fe88ff2d6f84f181e5a7942a06ab7a2d899ef89.tar.gz
chromium_src-1fe88ff2d6f84f181e5a7942a06ab7a2d899ef89.tar.bz2
Revert 99149 - Print Preview: Add a test for activating the initiator tab on print.
BUG=none TEST=included Review URL: http://codereview.chromium.org/7799019 TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/7831019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base/testing_browser_process.cc')
-rw-r--r--chrome/test/base/testing_browser_process.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index b672cf0..f86f6d5 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/prerender/prerender_tracker.h"
#include "chrome/browser/printing/background_printing_manager.h"
-#include "chrome/browser/printing/print_preview_tab_controller.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "content/browser/debugger/devtools_manager.h"
#include "net/url_request/url_request_context_getter.h"
@@ -199,9 +198,7 @@ printing::PrintJobManager* TestingBrowserProcess::print_job_manager() {
printing::PrintPreviewTabController*
TestingBrowserProcess::print_preview_tab_controller() {
- if (!print_preview_tab_controller_.get())
- print_preview_tab_controller_ = new printing::PrintPreviewTabController();
- return print_preview_tab_controller_.get();
+ return NULL;
}
printing::BackgroundPrintingManager*