Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 72f1e80b7b13ed31f89f5080308e4d0a89ac0caf..10eefffb65f46755484425a4516846a3ed557076 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; |
} |