| Index: chrome/browser/extensions/api/app_window/app_window_api.cc
|
| diff --git a/chrome/browser/extensions/api/app_window/app_window_api.cc b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| index a172a5a3c129ea0c84a4106577a837337c438880..bcb83d0898ff699000ee01979885b1069581c268 100644
|
| --- a/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| +++ b/chrome/browser/extensions/api/app_window/app_window_api.cc
|
| @@ -17,7 +17,7 @@
|
| #include "chrome/browser/extensions/window_controller.h"
|
| #include "chrome/browser/ui/apps/chrome_shell_window_delegate.h"
|
| #include "chrome/common/extensions/api/app_window.h"
|
| -#include "chrome/common/extensions/features/feature.h"
|
| +#include "chrome/common/extensions/features/feature_channel.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/render_process_host.h"
|
| @@ -207,7 +207,7 @@ bool AppWindowCreateFunction::RunImpl() {
|
| create_params.bounds.set_y(*bounds->top.get());
|
| }
|
|
|
| - if (Feature::GetCurrentChannel() <= chrome::VersionInfo::CHANNEL_DEV ||
|
| + if (GetCurrentChannel() <= chrome::VersionInfo::CHANNEL_DEV ||
|
| GetExtension()->location() == extensions::Manifest::COMPONENT) {
|
| if (options->type == extensions::api::app_window::WINDOW_TYPE_PANEL) {
|
| create_params.window_type = ShellWindow::WINDOW_TYPE_PANEL;
|
|
|