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

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 118703)
+++ 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"
@@ -105,12 +104,12 @@
return static_cast<RenderViewHost*>(widget);
}
-RenderViewHost::RenderViewHost(SiteInstance* instance,
+RenderViewHost::RenderViewHost(content::SiteInstance* instance,
RenderViewHostDelegate* delegate,
int routing_id,
SessionStorageNamespace* session_storage)
: RenderWidgetHost(instance->GetProcess(), routing_id),
- instance_(instance),
+ instance_(reinterpret_cast<SiteInstanceImpl*>(instance)),
jam 2012/01/24 03:29:33 use static_cast enough, since it's sufficient (and
ananta 2012/01/24 23:46:26 Done.
delegate_(delegate),
waiting_for_drag_context_response_(false),
enabled_bindings_(0),

Powered by Google App Engine
This is Rietveld 408576698