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; |