Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 7aede511fc9e3fff3b7c812e33c4eab4f72feda3..a86606175137f94f721b92c1d0241e4f67e1e303 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -645,6 +645,7 @@ Profile* TestingProfile::GetOffTheRecordProfile() { |
builder.SetIncognito(); |
scoped_ptr<TestingProfile> incognito_test_profile(builder.Build()); |
incognito_test_profile->SetOriginalProfile(this); |
+ incognito_test_profile->TrackZoomLevelsFromParent(this); |
SetOffTheRecordProfile(incognito_test_profile.PassAs<Profile>()); |
} |
return incognito_profile_.get(); |
@@ -830,6 +831,10 @@ content::PushMessagingService* TestingProfile::GetPushMessagingService() { |
return NULL; |
} |
+double TestingProfile::GetDefaultZoomLevel() const { |
+ return 0.0; |
+} |
+ |
bool TestingProfile::IsSameProfile(Profile *p) { |
return this == p; |
} |