Index: chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc |
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc |
index 26bd7e365539d404decdb71361cfe953ef627703..e218c2553a015f163191f7ffcb0d5933e030ebda 100644 |
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc |
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -102,9 +102,10 @@ class GeolocationPermissionContextTests : public TabContentsWrapperTestHarness { |
int process_id_for_tab(int tab) { |
return extra_tabs_[tab]->web_contents()->GetRenderProcessHost()->GetID(); |
} |
- int render_id() { return contents()->GetRenderViewHost()->routing_id(); } |
+ int render_id() { return contents()->GetRenderViewHost()->GetRoutingID(); } |
int render_id_for_tab(int tab) { |
- return extra_tabs_[tab]->web_contents()->GetRenderViewHost()->routing_id(); |
+ return extra_tabs_[tab]->web_contents()-> |
+ GetRenderViewHost()->GetRoutingID(); |
} |
int bridge_id() const { return 42; } // Not relevant at this level. |
InfoBarTabHelper* infobar_tab_helper() { |