Index: mojo/services/view_manager/access_policy.h |
diff --git a/mojo/services/view_manager/access_policy.h b/mojo/services/view_manager/access_policy.h |
index 66167ca720f1c944c8588776c7f79b40e8ad5115..cac55795c467756651ae58515d860aaa876d9849 100644 |
--- a/mojo/services/view_manager/access_policy.h |
+++ b/mojo/services/view_manager/access_policy.h |
@@ -35,7 +35,7 @@ class AccessPolicy { |
virtual bool CanDescendIntoViewForViewTree(const ServerView* view) const = 0; |
virtual bool CanEmbed(const ServerView* view) const = 0; |
virtual bool CanChangeViewVisibility(const ServerView* view) const = 0; |
- virtual bool CanSetViewContents(const ServerView* view) const = 0; |
+ virtual bool CanSetViewSurfaceId(const ServerView* view) const = 0; |
virtual bool CanSetViewBounds(const ServerView* view) const = 0; |
// Returns whether the connection should notify on a hierarchy change. |