summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/preference/preference_helpers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/preference/preference_helpers.cc')
-rw-r--r--chrome/browser/extensions/api/preference/preference_helpers.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/preference/preference_helpers.cc b/chrome/browser/extensions/api/preference/preference_helpers.cc
index e9f95b0..7a7af96 100644
--- a/chrome/browser/extensions/api/preference/preference_helpers.cc
+++ b/chrome/browser/extensions/api/preference/preference_helpers.cc
@@ -128,9 +128,9 @@ void DispatchEventToExtensions(
}
scoped_ptr<ListValue> args_copy(args->DeepCopy());
- router->DispatchEventToExtension(
- extension_id, event_name, args_copy.Pass(), restrict_to_profile,
- GURL());
+ scoped_ptr<Event> event(new Event(event_name, args_copy.Pass()));
+ event->restrict_to_profile = restrict_to_profile;
+ router->DispatchEventToExtension(extension_id, event.Pass());
}
}
}