summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_accessibility_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_accessibility_manager.cc')
-rw-r--r--chrome/browser/browser_accessibility_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_accessibility_manager.cc b/chrome/browser/browser_accessibility_manager.cc
index b2945e9..7a7c3b3 100644
--- a/chrome/browser/browser_accessibility_manager.cc
+++ b/chrome/browser/browser_accessibility_manager.cc
@@ -85,12 +85,12 @@ bool BrowserAccessibilityManager::RequestAccessibilityInfo(
// Send accessibility information retrieval message to the renderer.
bool success = false;
- if (rvh && rvh->process() && rvh->process()->channel()) {
+ if (rvh && rvh->process() && rvh->process()->HasConnection()) {
IPC::SyncMessage* msg =
new ViewMsg_GetAccessibilityInfo(routing_id, in_params, &out_params_);
// Necessary for the send to keep the UI responsive.
msg->EnableMessagePumping();
- success = rvh->process()->channel()->SendWithTimeout(msg,
+ success = rvh->process()->SendWithTimeout(msg,
kAccessibilityMessageTimeOut);
}
return success;