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

Unified Diff: ui/aura/window.cc

Issue 2381183002: mash: Fix shelf window property use in Chrome. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 0cfa7372f79c615b1a2e8acb3d75fe5cedc5476f..d92078768d12c4d114c7178ac53db7372da53c33 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -192,6 +192,8 @@ void Window::SetName(const std::string& name) {
}
void Window::SetTitle(const base::string16& title) {
+ if (title == title_)
+ return;
title_ = title;
FOR_EACH_OBSERVER(WindowObserver,
observers_,
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698