| 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 4faabe4730df13cf6d4a8e700fbcf3553b187101..1634382455576ba4cb8a1a91cf7480fdd22aa927 100644
|
| --- a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
|
| +++ b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
|
| @@ -71,7 +71,6 @@ void PhoneBrowserApplicationDelegate::LaunchURL(const mojo::String& url) {
|
| void PhoneBrowserApplicationDelegate::OnEmbed(mojo::View* root) {
|
| CHECK(!root_);
|
| root_ = root;
|
| - root->connection()->SetEmbedRoot();
|
| content_ = root->connection()->CreateView();
|
| root->AddChild(content_);
|
| content_->SetBounds(root->bounds());
|
| @@ -79,6 +78,7 @@ void PhoneBrowserApplicationDelegate::OnEmbed(mojo::View* root) {
|
| root->AddObserver(this);
|
|
|
| host_->SetSize(mojo::Size::From(gfx::Size(320, 640)));
|
| + content_->SetAccessPolicy(mojo::ViewTree::ACCESS_POLICY_EMBED_ROOT);
|
| web_view_.Init(app_, content_);
|
| LaunchURL(default_url_);
|
| }
|
|
|