Index: chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc |
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc b/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc |
index 407d709cac60c58c164cac8e2bd50a8458535287..958d4094cb2593294fd326e92da9dbcecd21dec9 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc |
+++ b/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc |
@@ -124,12 +124,12 @@ class WebIntentPickerControllerTest : public TabContentsWrapperTestHarness { |
virtual void SetUp() { |
TabContentsWrapperTestHarness::SetUp(); |
- profile_->CreateFaviconService(); |
- profile_->CreateWebDataService(true); |
- web_data_service_ = profile_->GetWebDataService(Profile::EXPLICIT_ACCESS); |
- favicon_service_ = profile_->GetFaviconService(Profile::EXPLICIT_ACCESS); |
+ profile()->CreateFaviconService(); |
+ profile()->CreateWebDataService(true); |
+ web_data_service_ = profile()->GetWebDataService(Profile::EXPLICIT_ACCESS); |
+ favicon_service_ = profile()->GetFaviconService(Profile::EXPLICIT_ACCESS); |
WebIntentsRegistry *registry = |
- WebIntentsRegistryFactory::GetForProfile(profile_.get()); |
+ WebIntentsRegistryFactory::GetForProfile(profile()); |
registry->Initialize(web_data_service_); |
picker_factory_ = new WebIntentPickerFactoryMock(); |