Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.cc

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reabase for fixing instant. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bf5901d5c47ac8eb5291de1fbe61987dff7a69fa..b822a07ad66bb2680ffc2f178b366164f53954be 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -1158,8 +1158,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());
}

Powered by Google App Engine
This is Rietveld 408576698