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), |