summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/testing_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/testing_profile.cc')
-rw-r--r--chrome/test/base/testing_profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 6e99b1c..1dfbfa2 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::FromBrowserContext(this);
+ return extensions::GuestViewManager::FromBrowserContextIfAvailable(this);
#else
return NULL;
#endif