Index: chrome/browser/extensions/tab_helper.cc |
diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc |
index 5fb4541428f4c6b02088f7298493cf44eadab1ef..3336d0a122f0ba2186ba698c2a62b16307f13afd 100644 |
--- a/chrome/browser/extensions/tab_helper.cc |
+++ b/chrome/browser/extensions/tab_helper.cc |
@@ -87,10 +87,8 @@ TabHelper::TabHelper(content::WebContents* web_contents) |
pending_web_app_action_(NONE), |
script_executor_(new ScriptExecutor(web_contents, |
&script_execution_observers_)), |
- rules_registry_service_( |
- ExtensionSystem::Get( |
- Profile::FromBrowserContext(web_contents->GetBrowserContext()))-> |
- rules_registry_service()), |
+ rules_registry_service_(RulesRegistryService::Get( |
+ Profile::FromBrowserContext(web_contents->GetBrowserContext()))), |
ALLOW_THIS_IN_INITIALIZER_LIST(image_loader_ptr_factory_(this)) { |
// The ActiveTabPermissionManager requires a session ID; ensure this |
// WebContents has one. |