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

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: style fixes. 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 131ee220f3452f182e9fa35e129002f7e3b34feb..970b11e18acd2190bb7e697e48dc1bed955a739a 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -1144,8 +1144,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