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

Unified Diff: content/renderer/mus/render_widget_window_tree_client_factory.cc

Issue 2676553003: mus: Fix creating the factory for window-tree-client in renderer. (Closed)
Patch Set: . Created 3 years, 10 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 | « no previous file | content/renderer/mus/renderer_window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/render_widget_window_tree_client_factory.cc
diff --git a/content/renderer/mus/render_widget_window_tree_client_factory.cc b/content/renderer/mus/render_widget_window_tree_client_factory.cc
index e2a19987a0187c1cd1cd7bc116b59b8eeabc5e36..6292da4926691d31929f4d4d8b86c772e84cdfce 100644
--- a/content/renderer/mus/render_widget_window_tree_client_factory.cc
+++ b/content/renderer/mus/render_widget_window_tree_client_factory.cc
@@ -31,6 +31,7 @@ namespace {
void BindMusConnectionOnMainThread(
uint32_t routing_id,
ui::mojom::WindowTreeClientRequest request) {
+ RendererWindowTreeClient::CreateIfNecessary(routing_id);
RendererWindowTreeClient::Get(routing_id)->Bind(std::move(request));
}
« no previous file with comments | « no previous file | content/renderer/mus/renderer_window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698