| Index: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
|
| diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
|
| index 136c5079c6530f66c6520b0f03759fd039636b3e..b535894a0c939f60190389626c0b899233c71d5a 100644
|
| --- a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
|
| +++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
|
| @@ -90,12 +90,12 @@ WebUIMessageHandler* SyncPromoHandler::Attach(WebUI* web_ui) {
|
| prefs_ = Profile::FromWebUI(web_ui)->GetPrefs();
|
| DCHECK(prefs_);
|
| // Ignore events from view-source:chrome://syncpromo.
|
| - if (!web_ui->tab_contents()->GetController().GetActiveEntry()->
|
| + if (!web_ui->tab_contents()->controller().GetActiveEntry()->
|
| IsViewSourceMode()) {
|
| // Listen to see if the tab we're in gets closed.
|
| registrar_.Add(this, content::NOTIFICATION_TAB_CLOSING,
|
| content::Source<NavigationController>(
|
| - &web_ui->tab_contents()->GetController()));
|
| + &web_ui->tab_contents()->controller()));
|
| // Listen to see if the window we're in gets closed.
|
| registrar_.Add(this, chrome::NOTIFICATION_BROWSER_CLOSING,
|
| content::NotificationService::AllSources());
|
|
|