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 68e25f2613cecfb8d23158f712d9c792d750b191..aba1138afa749bd3954bff3c02eb95fde49d7aec 100644 |
--- a/ash/wm/panels/panel_window_resizer_unittest.cc |
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc |
@@ -65,7 +65,8 @@ class PanelWindowResizerTest : public test::AshTestBase { |
aura::Window* window = CreateTestWindowInShellWithDelegateAndType( |
NULL, ui::wm::WINDOW_TYPE_PANEL, 0, bounds); |
static int id = 0; |
- window->SetProperty(kShelfIDKey, new ShelfID(base::IntToString(id++))); |
+ std::string shelf_id(ash::ShelfID(base::IntToString(id++)).Serialize()); |
+ window->SetProperty(kShelfIDKey, new std::string(shelf_id)); |
shelf_view_test_->RunMessageLoopUntilAnimationsDone(); |
return window; |
} |
@@ -481,6 +482,10 @@ TEST_F(PanelWindowResizerTest, DragMovesToPanelLayer) { |
} |
TEST_P(PanelWindowResizerTextDirectionTest, DragReordersPanelsHorizontal) { |
+ // TODO: investigate failure. http://crbug.com/698888. |
+ if (Shell::GetAshConfig() == Config::MASH) |
+ return; |
+ |
DragAlongShelfReorder(base::i18n::IsRTL() ? 1 : -1, 0); |
} |