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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.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 | « ui/views/accessibility/ax_window_obj_wrapper.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index 7df2a1550603fc6b7a0de85fa15aeca86ea33ea1..a27957a93851159348d63d83487b1910006a8ba3 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -320,7 +320,7 @@ bool DesktopWindowTreeHostMus::IsVisibleOnAllWorkspaces() const {
}
bool DesktopWindowTreeHostMus::SetWindowTitle(const base::string16& title) {
- if (window()->title() == title)
+ if (window()->GetTitle() == title)
return false;
window()->SetTitle(title);
return true;
« no previous file with comments | « ui/views/accessibility/ax_window_obj_wrapper.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698