summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/print_preview_tab_controller.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 22:55:30 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 22:55:30 +0000
commit627e05130fa2d98498dbd19fdcae4a173801d797 (patch)
tree6ab91bc7d842c689a509e897a09c5a789798ac17 /chrome/browser/printing/print_preview_tab_controller.cc
parent632197304ce0bb8fa5cd8931fe90c3c19cdeeab8 (diff)
downloadchromium_src-627e05130fa2d98498dbd19fdcae4a173801d797.zip
chromium_src-627e05130fa2d98498dbd19fdcae4a173801d797.tar.gz
chromium_src-627e05130fa2d98498dbd19fdcae4a173801d797.tar.bz2
Rename TabContents::browser_context() to GetBrowserContext and put it into the WebContents interface.
BUG=98716 Review URL: http://codereview.chromium.org/9021022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_preview_tab_controller.cc')
-rw-r--r--chrome/browser/printing/print_preview_tab_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/printing/print_preview_tab_controller.cc b/chrome/browser/printing/print_preview_tab_controller.cc
index 3c634d9..6acf2bd 100644
--- a/chrome/browser/printing/print_preview_tab_controller.cc
+++ b/chrome/browser/printing/print_preview_tab_controller.cc
@@ -363,7 +363,7 @@ TabContentsWrapper* PrintPreviewTabController::CreatePrintPreviewTab(
if (!current_browser) {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeFrame)) {
Profile* profile = Profile::FromBrowserContext(
- initiator_tab->tab_contents()->browser_context());
+ initiator_tab->tab_contents()->GetBrowserContext());
current_browser = Browser::CreateForType(Browser::TYPE_POPUP, profile);
if (!current_browser) {
NOTREACHED() << "Failed to create popup browser window";