Index: ash/shell/window_watcher.cc |
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc |
index 0dd36307c2a45cfa031b8885ff16c8129a298bcb..cc991ac415ab96f52fc63c4347ad1f14f2965996 100644 |
--- a/ash/shell/window_watcher.cc |
+++ b/ash/shell/window_watcher.cc |
@@ -117,7 +117,7 @@ void WindowWatcher::OnWindowAdded(aura::Window* new_window) { |
model->SetShelfItemDelegate( |
item.id, base::MakeUnique<WindowWatcherShelfItemDelegate>(item.id, this)); |
- new_window->SetProperty(kShelfIDKey, new ShelfID(item.id)); |
+ new_window->SetProperty(kShelfIDKey, new std::string(item.id.Serialize())); |
} |
void WindowWatcher::OnWillRemoveWindow(aura::Window* window) { |