Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index d49df37d25c58acc61a6d9a838facc2c1b7bd1f9..6eb7c0815ddc3df9d2dd5046f76c6fcde1d1d435 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -643,6 +643,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(); |
@@ -828,6 +829,10 @@ content::PushMessagingService* TestingProfile::GetPushMessagingService() { |
return NULL; |
} |
+double TestingProfile::GetDefaultZoomLevel() const { |
+ return 0.0; |
+} |
+ |
bool TestingProfile::IsSameProfile(Profile *p) { |
return this == p; |
} |