Commit cbe8c07e authored by dbeam@chromium.org's avatar dbeam@chromium.org

Fix unitialized pointer in RulesRegistryService.

TBR=thestig@chromium.org
BUG=none
TEST=less memcheck issues

Review URL: https://chromiumcodereview.appspot.com/16094012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202994 0039d316-1c4b-4281-b951-d872f2087c98
parent 2263cef8
......@@ -32,7 +32,8 @@ void RegisterToExtensionWebRequestEventRouterOnIO(
} // namespace
RulesRegistryService::RulesRegistryService(Profile* profile)
: profile_(profile) {
: content_rules_registry_(NULL),
profile_(profile) {
if (profile) {
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
content::Source<Profile>(profile->GetOriginalProfile()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment