Index: content/renderer/render_widget.cc |
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
index 6840d8b5e2e10316b088951bd37f7772ec9466e2..ff139dd5d5104f61dabd98f1f641e1741a56a181 100644 |
--- a/content/renderer/render_widget.cc |
+++ b/content/renderer/render_widget.cc |
@@ -70,6 +70,7 @@ using content::RenderThread; |
RenderWidget::RenderWidget(WebKit::WebPopupType popup_type) |
: routing_id_(MSG_ROUTING_NONE), |
+ surface_id_(0), |
webwidget_(NULL), |
opener_id_(MSG_ROUTING_NONE), |
host_window_(0), |
@@ -141,7 +142,8 @@ WebWidget* RenderWidget::CreateWebWidget(RenderWidget* render_widget) { |
void RenderWidget::Init(int32 opener_id) { |
DoInit(opener_id, |
RenderWidget::CreateWebWidget(this), |
- new ViewHostMsg_CreateWidget(opener_id, popup_type_, &routing_id_)); |
+ new ViewHostMsg_CreateWidget(opener_id, popup_type_, |
+ &routing_id_, &surface_id_)); |
} |
void RenderWidget::DoInit(int32 opener_id, |