summaryrefslogtreecommitdiffstats
path: root/mandoline/ui/phone_ui
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2015-09-08 10:49:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-08 17:50:26 +0000
commitb6da1f7c02e9fdf92bc07bb8a139a376c1179456 (patch)
treeb455cf7198e1de33f025e51affcb070fc3c077d0 /mandoline/ui/phone_ui
parentfdf42b485c81447b109f4066bf451296ceb2a204 (diff)
downloadchromium_src-b6da1f7c02e9fdf92bc07bb8a139a376c1179456.zip
chromium_src-b6da1f7c02e9fdf92bc07bb8a139a376c1179456.tar.gz
chromium_src-b6da1f7c02e9fdf92bc07bb8a139a376c1179456.tar.bz2
Move setting access policy to WebView
This way anyone creating a WebView doesn't have to remember this. BUG=none TEST=none R=sadrul@chromium.org Review URL: https://codereview.chromium.org/1305393007 Cr-Commit-Position: refs/heads/master@{#347735}
Diffstat (limited to 'mandoline/ui/phone_ui')
-rw-r--r--mandoline/ui/phone_ui/phone_browser_application_delegate.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
index 1634382..dddc9f9 100644
--- a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
+++ b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc
@@ -78,7 +78,6 @@ 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_);
}