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

Unified Diff: services/ui/demo/window_tree_data.cc

Issue 2755673003: Allow parallel creation of windows
Patch Set: fix comments Created 3 years, 9 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: services/ui/demo/window_tree_data.cc
diff --git a/services/ui/demo/window_tree_data.cc b/services/ui/demo/window_tree_data.cc
index 65055a8a6dfe65f1b10cba3f2f625bbb9d0fcde5..4f5fb2fc95c5cdbe7b8b4246f04f99696df8d505 100644
--- a/services/ui/demo/window_tree_data.cc
+++ b/services/ui/demo/window_tree_data.cc
@@ -68,6 +68,7 @@ aura::Window* WindowTreeData::bitmap_window() {
void WindowTreeData::Init(
std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) {
fwang 2017/03/16 08:59:49 So I think you can remove the parameter and assume
msisov(use msisov igalia.com) 2017/03/16 09:21:32 If window_tree_host->InitHost(); and window_tree_h
+ DCHECK(!IsInitialized());
if (window_tree_host) {
window_tree_host->InitHost();
window_tree_host->Show();

Powered by Google App Engine
This is Rietveld 408576698