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

Unified Diff: services/media/factory_service/event.h

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 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 | « services/media/factory_service/audio_track_controller.cc ('k') | services/media/factory_service/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/factory_service/event.h
diff --git a/services/media/factory_service/event.h b/services/media/factory_service/event.h
index b79630f9ea35bc2dd390157daa9dcb0fe542fc5f..bc2b01e1615cac18b1527def23dc7c1e8c9ff177 100644
--- a/services/media/factory_service/event.h
+++ b/services/media/factory_service/event.h
@@ -121,9 +121,7 @@ class Event {
}
// Determines whether this Event is non-null.
- explicit operator bool() const {
- return static_cast<bool>(impl_);
- }
+ explicit operator bool() const { return static_cast<bool>(impl_); }
// Executes the consequence when this Event occurs. If this Event hasn't
// occurred or been cancelled when this method is called, a copy of the
@@ -151,9 +149,7 @@ class Event {
// Calls Occur. This method makes an Event convertible to
// mojo::Callback<void()>.
- void Run() const {
- Occur();
- }
+ void Run() const { Occur(); }
private:
explicit Event(const std::shared_ptr<EventImpl>& impl);
« no previous file with comments | « services/media/factory_service/audio_track_controller.cc ('k') | services/media/factory_service/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698