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

Unified Diff: content/renderer/render_widget.cc

Issue 9194005: gpu: reference target surfaces through a globally unique surface id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix more tests 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
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/renderer/render_widget_fullscreen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/renderer/render_widget_fullscreen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698