| Index: chrome/browser/extensions/api/preference/preference_api.cc
|
| diff --git a/chrome/browser/extensions/api/preference/preference_api.cc b/chrome/browser/extensions/api/preference/preference_api.cc
|
| index b5e6716b9dc4fd8fb9383140ac77390423134529..1c6a7298d5425f72490b2083c9ffb32acc988c7f 100644
|
| --- a/chrome/browser/extensions/api/preference/preference_api.cc
|
| +++ b/chrome/browser/extensions/api/preference/preference_api.cc
|
| @@ -10,7 +10,6 @@
|
| #include "base/lazy_instance.h"
|
| #include "base/memory/singleton.h"
|
| #include "base/prefs/pref_service.h"
|
| -#include "base/profiler/scoped_profile.h"
|
| #include "base/stl_util.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/values.h"
|
| @@ -450,10 +449,6 @@ PreferenceAPI* PreferenceAPI::Get(content::BrowserContext* context) {
|
| }
|
|
|
| void PreferenceAPI::OnListenerAdded(const EventListenerInfo& details) {
|
| - // TODO(vadimt): Remove ScopedProfile below once crbug.com/417106 is fixed.
|
| - tracked_objects::ScopedProfile tracking_profile(
|
| - FROM_HERE_WITH_EXPLICIT_FUNCTION("PreferenceAPI::OnListenerAdded"));
|
| -
|
| preference_event_router_.reset(new PreferenceEventRouter(profile_));
|
| EventRouter::Get(profile_)->UnregisterObserver(this);
|
| }
|
|
|