Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
index 76c65820df199a447804f4773ecb533477549999..fd83c5c0d4cb39d6720d36acbd63d5f288ce3910 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
@@ -50,6 +50,7 @@ |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "content/public/browser/notification_service.h" |
+#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/user_metrics.h" |
#include "content/public/browser/web_contents.h" |
@@ -1144,8 +1145,8 @@ void OmniboxEditModel::DoPrerender(const AutocompleteMatch& match) { |
tab->web_contents()->GetView()->GetContainerBounds(&container_bounds); |
AutocompleteActionPredictorFactory::GetForProfile(profile_)-> |
StartPrerendering(match.destination_url, |
- tab->web_contents()->GetRenderViewHost()-> |
- GetSessionStorageNamespace(), |
+ tab->web_contents()->GetController() |
+ .GetSessionStorageNamespaceMap(), |
container_bounds.size()); |
} |