| Index: chrome/browser/webdata/web_data_service_factory.cc
|
| diff --git a/chrome/browser/webdata/web_data_service_factory.cc b/chrome/browser/webdata/web_data_service_factory.cc
|
| index 5c0968d0feaf4185fb42992c6928ab69bc707830..10794d121a9d9ede66764317990840d213af5012 100644
|
| --- a/chrome/browser/webdata/web_data_service_factory.cc
|
| +++ b/chrome/browser/webdata/web_data_service_factory.cc
|
| @@ -10,12 +10,12 @@
|
| #include "chrome/common/chrome_constants.h"
|
|
|
| // static
|
| -scoped_refptr<WebDataServiceBase> WebDataServiceBase::ForProfile(
|
| - Profile* profile) {
|
| +scoped_refptr<WebDataServiceBase> WebDataServiceBase::ForContext(
|
| + content::BrowserContext* context) {
|
| // TODO(joi): Does the implicit/explicit distinction really matter?
|
| // It's just used for a DCHECK.
|
| - return WebDataServiceFactory::GetForProfile(profile,
|
| - Profile::EXPLICIT_ACCESS);
|
| + return WebDataServiceFactory::GetForProfile(
|
| + static_cast<Profile*>(context), Profile::EXPLICIT_ACCESS);
|
| }
|
|
|
| WebDataServiceFactory::WebDataServiceFactory()
|
|
|