| Index: content/renderer/mus/renderer_window_tree_client.h
|
| diff --git a/content/renderer/mus/renderer_window_tree_client.h b/content/renderer/mus/renderer_window_tree_client.h
|
| index 9ab9f3f3cc27102f487724e353c0e02f5e0ff8c0..b1615e557b21ae9916e903719a05409645d1a39d 100644
|
| --- a/content/renderer/mus/renderer_window_tree_client.h
|
| +++ b/content/renderer/mus/renderer_window_tree_client.h
|
| @@ -30,9 +30,10 @@ namespace content {
|
| class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
|
| public:
|
| // Creates a RendererWindowTreeClient instance for the RenderWidget instance
|
| - // associated with |routing_id|. The instance self-destructs when the
|
| - // connection to mus is lost, or when the window is closed.
|
| - static void Create(int routing_id);
|
| + // associated with |routing_id| (if one doesn't already exist). The instance
|
| + // self-destructs when the connection to mus is lost, or when the window is
|
| + // closed.
|
| + static void CreateIfNecessary(int routing_id);
|
|
|
| // Destroys the client instance, if one exists. Otherwise, does nothing.
|
| static void Destroy(int routing_id);
|
|
|