| Index: chrome/browser/automation/automation_provider_observers.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider_observers.cc (revision 115228)
|
| +++ chrome/browser/automation/automation_provider_observers.cc (working copy)
|
| @@ -392,7 +392,7 @@
|
| if (type == notification_) {
|
| if (type == content::NOTIFICATION_TAB_PARENTED) {
|
| ObserveTab(&(content::Source<TabContentsWrapper>(source).ptr()->
|
| - tab_contents()->controller()));
|
| + tab_contents()->GetController()));
|
| } else {
|
| ObserveTab(content::Source<NavigationController>(source).ptr());
|
| }
|
| @@ -1079,7 +1079,7 @@
|
| case IDC_FORWARD:
|
| case IDC_RELOAD: {
|
| new NavigationNotificationObserver(
|
| - &browser->GetSelectedTabContents()->controller(),
|
| + &browser->GetSelectedTabContents()->GetController(),
|
| automation, reply_message, 1, false, false);
|
| break;
|
| }
|
| @@ -2751,7 +2751,7 @@
|
| DCHECK_EQ(content::NOTIFICATION_TAB_PARENTED, type);
|
| NavigationController* controller =
|
| &(content::Source<TabContentsWrapper>(source).ptr()->
|
| - tab_contents()->controller());
|
| + tab_contents()->GetController());
|
| if (automation_) {
|
| // TODO(phajdan.jr): Clean up this hack. We write the correct return type
|
| // here, but don't send the message. NavigationNotificationObserver
|
|
|