| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 4f3aaf7c94cda355d97901b7c8153717b59e785c..7066091ec35d96b901f240454aeffd236d0f9347 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -3130,8 +3130,10 @@ bool Extension::InitFromValue(int flags, string16* error) {
|
| // TODO(jeremya/kalman) do this via the features system by exposing the
|
| // app.window API to platform apps, with no dependency on any permissions.
|
| // See http://crbug.com/120069.
|
| - if (is_platform_app())
|
| + if (is_platform_app()) {
|
| + api_permissions.insert(APIPermission::kAppRuntime);
|
| api_permissions.insert(APIPermission::kAppWindow);
|
| + }
|
|
|
| APIPermissionSet optional_api_permissions;
|
| URLPatternSet optional_host_permissions;
|
|
|