| Index: chrome/browser/extensions/extension_message_service.cc
|
| diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc
|
| index 839b47454907d85b6e2c3a2b876459d984842ab8..efacfed04e2d33ee211531e55db114dae69c7508 100644
|
| --- a/chrome/browser/extensions/extension_message_service.cc
|
| +++ b/chrome/browser/extensions/extension_message_service.cc
|
| @@ -199,7 +199,7 @@ void ExtensionMessageService::OpenChannelToTab(
|
| contents->tab_contents()->GetRenderViewHost()->routing_id();
|
| }
|
|
|
| - if (contents && contents->tab_contents()->GetController().needs_reload()) {
|
| + if (contents && contents->tab_contents()->controller().needs_reload()) {
|
| // The tab isn't loaded yet. Don't attempt to connect. Treat this as a
|
| // disconnect.
|
| DispatchOnDisconnect(MessagePort(source, MSG_ROUTING_CONTROL),
|
| @@ -287,7 +287,7 @@ int ExtensionMessageService::OpenSpecialChannelToTab(
|
| TabContents* target_tab_contents, IPC::Message::Sender* source) {
|
| DCHECK(target_tab_contents);
|
|
|
| - if (target_tab_contents->GetController().needs_reload()) {
|
| + if (target_tab_contents->controller().needs_reload()) {
|
| // The tab isn't loaded yet. Don't attempt to connect.
|
| return -1;
|
| }
|
|
|