Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 117096) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -2059,8 +2059,7 @@ |
// Notify observers. |
FOR_EACH_OBSERVER(WebContentsObserver, observers_, DidGetUserGesture()); |
- ResourceDispatcherHost* rdh = |
- content::GetContentClient()->browser()->GetResourceDispatcherHost(); |
+ ResourceDispatcherHost* rdh = ResourceDispatcherHost::Get(); |
if (rdh) // NULL in unittests. |
rdh->OnUserGesture(this); |
} |