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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 3 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_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 3d71e22532d640f4f65e849d0dd4ad61b409b6fc..666eb2928624addf63257443bac06471965721c4 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -338,8 +338,7 @@ void RenderWidgetHostImpl::SetView(RenderWidgetHostViewBase* view) {
// If the renderer has not yet been initialized, then the surface ID
// namespace will be sent during initialization.
if (view_ && renderer_initialized_) {
- Send(new ViewMsg_SetSurfaceClientId(routing_id_,
- view_->GetSurfaceClientId()));
+ Send(new ViewMsg_SetFrameSinkId(routing_id_, view_->GetFrameSinkId()));
}
synthetic_gesture_controller_.reset();
@@ -411,8 +410,7 @@ void RenderWidgetHostImpl::Init() {
// If the RWHV has not yet been set, the surface ID namespace will get
// passed down by the call to SetView().
if (view_) {
- Send(new ViewMsg_SetSurfaceClientId(routing_id_,
- view_->GetSurfaceClientId()));
+ Send(new ViewMsg_SetFrameSinkId(routing_id_, view_->GetFrameSinkId()));
}
SendScreenRects();

Powered by Google App Engine
This is Rietveld 408576698