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

Unified Diff: ui/aura/window.cc

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: Don't check for system modal when AddTransientWindow(). 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698