| Index: chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| index 4efb236edb71b1acb5f63f159f8dfb543d9f3485..f1c1c9625d9ca76ae5ad728ffa9b72e18b0bc325 100644
|
| --- a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| @@ -10,9 +10,9 @@
|
| #include "ash/common/shelf/shelf_model.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| -#include "ash/common/wm_window_property.h"
|
| #include "ash/public/cpp/shelf_application_menu_item.h"
|
| #include "ash/resources/grit/ash_resources.h"
|
| +#include "ash/wm/window_properties.h"
|
| #include "ash/wm/window_util.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -132,10 +132,9 @@ void BrowserShortcutLauncherItemController::SetShelfIDForBrowserWindowContents(
|
| IsSettingsBrowser(browser))
|
| return;
|
|
|
| - ash::WmWindow::Get(browser->window()->GetNativeWindow())
|
| - ->SetIntProperty(
|
| - ash::WmWindowProperty::SHELF_ID,
|
| - launcher_controller()->GetShelfIDForWebContents(web_contents));
|
| + browser->window()->GetNativeWindow()->SetProperty(
|
| + ash::kShelfIDKey,
|
| + launcher_controller()->GetShelfIDForWebContents(web_contents));
|
| }
|
|
|
| ash::ShelfAction BrowserShortcutLauncherItemController::ItemSelected(
|
|
|