summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_message_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_message_service.cc')
-rw-r--r--chrome/browser/extensions/extension_message_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc
index efacfed..839b474 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()->controller().needs_reload()) {
+ if (contents && contents->tab_contents()->GetController().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->controller().needs_reload()) {
+ if (target_tab_contents->GetController().needs_reload()) {
// The tab isn't loaded yet. Don't attempt to connect.
return -1;
}