Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5081)

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl_unittest.cc

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4a568b746998b6e6b788ebf64b2ee2d1e7505e2a..deb40a64642053b95df37fcf1e5ae6e7340db5b3 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
@@ -142,13 +142,9 @@ 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();
// Prepare child host zoom map.
HostZoomMap* child_zoom_map =

Powered by Google App Engine
This is Rietveld 408576698