| Index: chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
|
| index 86184c2420e86ea1a096238d03c82ffc579ba00e..dd69e622f829362a2cd9758e29fccbd82661c69b 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
|
| @@ -148,13 +148,10 @@ TEST_F(OffTheRecordProfileImplTest, GetHostZoomMap) {
|
| // OnZoomLevelChanged.
|
|
|
| // Prepare an off the record profile owned by the parent profile.
|
| - parent_profile->SetOffTheRecordProfile(
|
| - scoped_ptr<Profile>(new OffTheRecordProfileImpl(parent_profile)));
|
| OffTheRecordProfileImpl* child_profile =
|
| static_cast<OffTheRecordProfileImpl*>(
|
| parent_profile->GetOffTheRecordProfile());
|
| - child_profile->InitIoData();
|
| - child_profile->InitHostZoomMap();
|
| + child_profile->TrackZoomLevelsFromParent(parent_profile);
|
|
|
| // Prepare child host zoom map.
|
| HostZoomMap* child_zoom_map =
|
|
|