Index: sky/tools/tester/tester.cc |
diff --git a/sky/tools/tester/tester.cc b/sky/tools/tester/tester.cc |
index c816d006c9da3059df090fa1d8a2fe7b425d6ccc..635bc6b1a5360cc472cfd7dffa201a3fe77f88e6 100644 |
--- a/sky/tools/tester/tester.cc |
+++ b/sky/tools/tester/tester.cc |
@@ -90,7 +90,7 @@ class SkyTester : public mojo::ApplicationDelegate, |
root_ = root; |
root_->AddObserver(this); |
- content_ = mojo::View::Create(root->view_manager()); |
+ content_ = root->view_manager()->CreateView(); |
content_->SetBounds(root_->bounds()); |
root_->AddChild(content_); |
content_->SetVisible(true); |