Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2989)

Unified Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 2731663002: Remove WmWindowProperty (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/panels/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index 12164acea632926a0617097b0ba0a242193dd1e7..5d34b5535fd90de079e6760d68ca5cf17ba6150e 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -13,7 +13,6 @@
#include "ash/common/wm/wm_event.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_types.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/public/cpp/window_properties.h"
@@ -132,8 +131,7 @@ class PanelWindowResizerTest : public test::AshTestBase {
for (std::vector<aura::Window *>::const_iterator
iter = window_order.begin();
iter != window_order.end(); ++iter, ++panel_index) {
- ShelfID id =
- WmWindow::Get(*iter)->GetIntProperty(WmWindowProperty::SHELF_ID);
+ ShelfID id = *iter->GetProperty(kShelfIDKey);
EXPECT_EQ(id, model_->items()[panel_index].id);
}
}

Powered by Google App Engine
This is Rietveld 408576698