Index: components/view_manager/default_access_policy.cc |
diff --git a/components/view_manager/default_access_policy.cc b/components/view_manager/default_access_policy.cc |
index c3e99a44832655090e324397ba1bcd168432b7bf..dbfeedb43b69b55f51f1f7f3fd3f02b7d1b4a3b9 100644 |
--- a/components/view_manager/default_access_policy.cc |
+++ b/components/view_manager/default_access_policy.cc |
@@ -100,6 +100,10 @@ bool DefaultAccessPolicy::CanSetFocus(const ServerView* view) const { |
delegate_->IsRootForAccessPolicy(view->id()); |
} |
+bool DefaultAccessPolicy::CanSetAccessPolicy(const ServerView* view) const { |
+ return false; |
+} |
+ |
bool DefaultAccessPolicy::ShouldNotifyOnHierarchyChange( |
const ServerView* view, |
const ServerView** new_parent, |