Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 1dfbfa20487a63bb1ffd724c7af6ffbd3eb374d2..6e99b1c336dfb4e0f07e31bd7fa68072591459f6 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -959,7 +959,7 @@ HostContentSettingsMap* TestingProfile::GetHostContentSettingsMap() { |
content::BrowserPluginGuestManager* TestingProfile::GetGuestManager() { |
#if defined(ENABLE_EXTENSIONS) |
- return extensions::GuestViewManager::FromBrowserContextIfAvailable(this); |
+ return extensions::GuestViewManager::FromBrowserContext(this); |
#else |
return NULL; |
#endif |