| Index: mandoline/ui/phone_ui/phone_browser_application_delegate.cc
|
| diff --git a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
|
| index d01ac826cecea7037780add1f9c8c2c21e606251..42ddf7467f946d6ae7bd885b73c4408a74e15c69 100644
|
| --- a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
|
| +++ b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
|
| @@ -66,13 +66,13 @@ void PhoneBrowserApplicationDelegate::LaunchURL(const mojo::String& url) {
|
| // PhoneBrowserApplicationDelegate, mojo::ViewTreeDelegate implementation:
|
|
|
| void PhoneBrowserApplicationDelegate::OnEmbed(mojo::View* root) {
|
| - root->connection()->SetEmbedRoot();
|
| content_ = root->connection()->CreateView();
|
| root->AddChild(content_);
|
| content_->SetBounds(root->bounds());
|
| content_->SetVisible(true);
|
|
|
| host_->SetSize(mojo::Size::From(gfx::Size(320, 640)));
|
| + content_->SetAccessPolicy(mojo::ViewTree::kAccessPolicyEmbedRoot);
|
| web_view_.Init(app_, content_);
|
| LaunchURL(default_url_);
|
| }
|
|
|