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

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: mac win compile 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 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());
}

Powered by Google App Engine
This is Rietveld 408576698