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

Unified Diff: ash/wm/workspace_controller_unittest.cc

Issue 2502413005: Use aura::WindowProperty for title and name strings. (Closed)
Patch Set: Update comment Created 4 years, 1 month 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
« no previous file with comments | « ash/wm/window_util.cc ('k') | chrome/browser/media/webrtc/desktop_media_list_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace_controller_unittest.cc
diff --git a/ash/wm/workspace_controller_unittest.cc b/ash/wm/workspace_controller_unittest.cc
index 80915c6e2eefbe1199cd3b34357e2d26e969a951..efa8a1edbd875ac79c3c29410ced3742f94f057d 100644
--- a/ash/wm/workspace_controller_unittest.cc
+++ b/ash/wm/workspace_controller_unittest.cc
@@ -50,7 +50,7 @@ std::string GetWindowNames(const aura::Window* window) {
for (size_t i = 0; i < window->children().size(); ++i) {
if (i != 0)
result += " ";
- result += window->children()[i]->name();
+ result += window->children()[i]->GetName();
}
return result;
}
@@ -64,7 +64,7 @@ std::string GetLayerNames(const aura::Window* window) {
LayerToWindowNameMap window_names;
for (size_t i = 0; i < window->children().size(); ++i) {
window_names[window->children()[i]->layer()] =
- window->children()[i]->name();
+ window->children()[i]->GetName();
}
std::string result;
« no previous file with comments | « ash/wm/window_util.cc ('k') | chrome/browser/media/webrtc/desktop_media_list_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698