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

Unified Diff: ui/views/test/x11_property_change_waiter.cc

Issue 666673005: Explicitly coerce PostDispatchAction to uint32_t in DispatchEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_enums
Patch Set: sigh. Windows. Created 6 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
Index: ui/views/test/x11_property_change_waiter.cc
diff --git a/ui/views/test/x11_property_change_waiter.cc b/ui/views/test/x11_property_change_waiter.cc
index cdfd31dd6a4fb4c6a990f38350751c1f4f55d7d8..8ac073418391b506b12f4c99b5c2a3d3b1210b4e 100644
--- a/ui/views/test/x11_property_change_waiter.cc
+++ b/ui/views/test/x11_property_change_waiter.cc
@@ -72,13 +72,13 @@ uint32_t X11PropertyChangeWaiter::DispatchEvent(
event->xproperty.window != x_window_ ||
event->xproperty.atom != atom_cache_->GetAtom(property_) ||
ShouldKeepOnWaiting(event)) {
- return ui::POST_DISPATCH_PERFORM_DEFAULT;
+ return ui::kPostDispatchPerformDefault;
}
wait_ = false;
if (!quit_closure_.is_null())
quit_closure_.Run();
- return ui::POST_DISPATCH_PERFORM_DEFAULT;
+ return ui::kPostDispatchPerformDefault;
}
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698