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

Unified Diff: content/browser/renderer_host/render_view_host.cc

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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: content/browser/renderer_host/render_view_host.cc
===================================================================
--- content/browser/renderer_host/render_view_host.cc (revision 118952)
+++ content/browser/renderer_host/render_view_host.cc (working copy)
@@ -26,7 +26,6 @@
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_widget_host.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
-#include "content/browser/site_instance.h"
#include "content/common/desktop_notification_messages.h"
#include "content/common/drag_messages.h"
#include "content/common/speech_input_messages.h"
@@ -58,6 +57,7 @@
using content::BrowserMessageFilter;
using content::BrowserThread;
using content::RenderViewHostDelegate;
+using content::SiteInstance;
using content::UserMetricsAction;
using WebKit::WebConsoleMessage;
using WebKit::WebDragOperation;
@@ -110,7 +110,7 @@
int routing_id,
SessionStorageNamespace* session_storage)
: RenderWidgetHost(instance->GetProcess(), routing_id),
- instance_(instance),
+ instance_(static_cast<SiteInstanceImpl*>(instance)),
delegate_(delegate),
waiting_for_drag_context_response_(false),
enabled_bindings_(0),
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/browser/renderer_host/render_view_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698