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.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/browser_accessibility_manager.cc b/chrome/browser/browser_accessibility_manager.cc
index 7a7c3b3..f710629 100644
--- a/chrome/browser/browser_accessibility_manager.cc
+++ b/chrome/browser/browser_accessibility_manager.cc
@@ -53,8 +53,7 @@ STDMETHODIMP BrowserAccessibilityManager::CreateAccessibilityInstance(
// Update cache with RenderProcessHost/BrowserAccessibility pair.
if (rvh && rvh->process()) {
- render_process_host_map_.insert(
- MapEntry(rvh->process()->pid(), instance));
+ render_process_host_map_.insert(MapEntry(rvh->process()->id(), instance));
} else {
// No RenderProcess active for this instance.
return E_FAIL;
@@ -140,10 +139,10 @@ void BrowserAccessibilityManager::Observe(NotificationType type,
DCHECK(rph);
RenderProcessHostMap::iterator it =
- render_process_host_map_.lower_bound(rph->pid());
+ render_process_host_map_.lower_bound(rph->id());
RenderProcessHostMap::iterator end_of_matching_objects =
- render_process_host_map_.upper_bound(rph->pid());
+ render_process_host_map_.upper_bound(rph->id());
for (; it != end_of_matching_objects; ++it) {
if (it->second) {