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

Unified Diff: examples/nesting_app/nesting_app.cc

Issue 818583002: Moves Create() off of View and onto ViewManager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: merge 2 trunk Created 6 years 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 | « examples/media_viewer/media_viewer.cc ('k') | examples/recipes/window_manager/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/nesting_app/nesting_app.cc
diff --git a/examples/nesting_app/nesting_app.cc b/examples/nesting_app/nesting_app.cc
index d8ca8a5ed9524bdb3ddd683e3c80de746dc2d1f8..6a22f379efc81c9f1913959e9aee86015fba6acd 100644
--- a/examples/nesting_app/nesting_app.cc
+++ b/examples/nesting_app/nesting_app.cc
@@ -67,7 +67,7 @@ class NestingApp
bitmap_uploader_->Init(shell_);
bitmap_uploader_->SetColor(SK_ColorCYAN);
- nested_ = View::Create(root->view_manager());
+ nested_ = root->view_manager()->CreateView();
root->AddChild(nested_);
Rect rect;
rect.x = rect.y = 20;
« no previous file with comments | « examples/media_viewer/media_viewer.cc ('k') | examples/recipes/window_manager/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698