Index: chrome/browser/renderer_host/offline_resource_throttle.cc |
diff --git a/chrome/browser/renderer_host/offline_resource_throttle.cc b/chrome/browser/renderer_host/offline_resource_throttle.cc |
index 20b5b300ffd476590842c2393f3713bb863ac95c..6d24a0903c28f7c2bcde35b0f09ff3d12ffad243 100644 |
--- a/chrome/browser/renderer_host/offline_resource_throttle.cc |
+++ b/chrome/browser/renderer_host/offline_resource_throttle.cc |
@@ -48,7 +48,7 @@ void ShowOfflinePage( |
RenderViewHost* render_view_host = |
RenderViewHost::FromID(render_process_id, render_view_id); |
WebContents* web_contents = render_view_host ? |
- render_view_host->delegate()->GetAsWebContents() : NULL; |
+ render_view_host->GetDelegate()->GetAsWebContents() : NULL; |
// There is a chance that the tab closed after we decided to show |
// the offline page on the IO thread and before we actually show the |
// offline page here on the UI thread. |