| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
|
| index 8f7d0e4d825b0076c9afb4101d06a3f0d3b4306e..f4787ebac7d9d2801bca3c82dd9ca9ab236a078c 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
|
| @@ -16,7 +16,6 @@
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| -#include "ash/common/wm_window_property.h"
|
| #include "ash/public/cpp/window_properties.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/shelf_view_test_api.h"
|
| @@ -2162,7 +2161,7 @@ IN_PROC_BROWSER_TEST_F(ShelfAppBrowserTest, MatchingShelfIDandActiveTab) {
|
|
|
| int browser_index = GetIndexOfShelfItemType(ash::TYPE_BROWSER_SHORTCUT);
|
| ash::ShelfID browser_id = model_->items()[browser_index].id;
|
| - ash::ShelfID id = window->GetIntProperty(ash::WmWindowProperty::SHELF_ID);
|
| + ash::ShelfID id = window->aura_window()->GetProperty(kShelfIDKey);
|
| EXPECT_EQ(browser_id, id);
|
|
|
| ash::ShelfID app_id = CreateShortcut("app1");
|
| @@ -2172,13 +2171,13 @@ IN_PROC_BROWSER_TEST_F(ShelfAppBrowserTest, MatchingShelfIDandActiveTab) {
|
| WmShelf::ActivateShelfItem(model_->ItemIndexByID(app_id));
|
| EXPECT_EQ(2, browser()->tab_strip_model()->count());
|
| EXPECT_EQ(1, browser()->tab_strip_model()->active_index());
|
| - id = window->GetIntProperty(ash::WmWindowProperty::SHELF_ID);
|
| + id = window->aura_window()->GetProperty(kShelfIDKey);
|
| EXPECT_EQ(app_id, id);
|
|
|
| // Activate the tab at index 0 (NTP) and expect a browser ShelfID.
|
| browser()->tab_strip_model()->ActivateTabAt(0, false);
|
| EXPECT_EQ(0, browser()->tab_strip_model()->active_index());
|
| - id = window->GetIntProperty(ash::WmWindowProperty::SHELF_ID);
|
| + id = window->aura_window()->GetProperty(kShelfIDKey);
|
| EXPECT_EQ(browser_id, id);
|
| }
|
|
|
|
|