| Index: components/browser_context_keyed_service/refcounted_browser_context_keyed_service.cc
|
| diff --git a/components/browser_context_keyed_service/refcounted_browser_context_keyed_service.cc b/components/browser_context_keyed_service/refcounted_browser_context_keyed_service.cc
|
| index da92a6dc579ab29a2375b8923a57751b1f46012f..ee06dd05dd5dda09fb98b35c9ce28831a61773c6 100644
|
| --- a/components/browser_context_keyed_service/refcounted_browser_context_keyed_service.cc
|
| +++ b/components/browser_context_keyed_service/refcounted_browser_context_keyed_service.cc
|
| @@ -7,8 +7,8 @@
|
| namespace impl {
|
|
|
| // static
|
| -void RefcountedProfileKeyedServiceTraits::Destruct(
|
| - const RefcountedProfileKeyedService* obj) {
|
| +void RefcountedBrowserContextKeyedServiceTraits::Destruct(
|
| + const RefcountedBrowserContextKeyedService* obj) {
|
| if (obj->requires_destruction_on_thread_ &&
|
| !content::BrowserThread::CurrentlyOn(obj->thread_id_)) {
|
| content::BrowserThread::DeleteSoon(obj->thread_id_, FROM_HERE, obj);
|
| @@ -19,16 +19,16 @@ void RefcountedProfileKeyedServiceTraits::Destruct(
|
|
|
| } // namespace impl
|
|
|
| -RefcountedProfileKeyedService::RefcountedProfileKeyedService()
|
| +RefcountedBrowserContextKeyedService::RefcountedBrowserContextKeyedService()
|
| : requires_destruction_on_thread_(false),
|
| thread_id_(content::BrowserThread::UI) {
|
| }
|
|
|
| -RefcountedProfileKeyedService::RefcountedProfileKeyedService(
|
| +RefcountedBrowserContextKeyedService::RefcountedBrowserContextKeyedService(
|
| const content::BrowserThread::ID thread_id)
|
| : requires_destruction_on_thread_(true),
|
| thread_id_(thread_id) {
|
| }
|
|
|
| -RefcountedProfileKeyedService::~RefcountedProfileKeyedService() {}
|
| +RefcountedBrowserContextKeyedService::~RefcountedBrowserContextKeyedService() {}
|
|
|
|
|