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

Unified Diff: ui/aura/window.cc

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: address feedback. Created 3 years, 9 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 | « ui/aura/test/mus/test_window_tree.cc ('k') | ui/aura/window_port.h » ('j') | 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 64ec5af5aea26662e1995666be89e3af208e385c..7116e8ba551092bedb016b36ccb5a04cfea96ade 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -656,7 +656,7 @@ void Window::AfterPropertyChange(const void* key,
int64_t old_value,
std::unique_ptr<ui::PropertyData> data) {
if (port_)
- port_->OnPropertyChanged(key, std::move(data));
+ port_->OnPropertyChanged(key, old_value, std::move(data));
for (WindowObserver& observer : observers_)
observer.OnWindowPropertyChanged(this, key, old_value);
}
« no previous file with comments | « ui/aura/test/mus/test_window_tree.cc ('k') | ui/aura/window_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698