Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
index 6719df1affc6df772051e4044e7b70dc8b58a7ca..77d8899a9470eea05929161c6c1733d62cab9508 100644 |
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
@@ -12,7 +12,7 @@ |
#include "base/logging.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/chrome_notification_types.h" |
-#include "chrome/browser/component_updater/component_updater_service.h" |
+#include "chrome/browser/component_updater/component_updater_resource_throttle.h" |
#include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" |
#include "chrome/browser/content_settings/host_content_settings_map.h" |
#include "chrome/browser/download/download_request_limiter.h" |
@@ -248,7 +248,7 @@ void AppendComponentUpdaterThrottles( |
// We got a component we need to install, so throttle the resource |
// until the component is installed. |
throttles->push_back( |
- cus->GetOnDemandUpdater().GetOnDemandResourceThrottle(request, crx_id)); |
+ component_updater::GetOnDemandResourceThrottle(cus, crx_id)); |
} |
} |