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

Unified Diff: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
index b3011004d5c9533d7dff2408cd0bfa44ea631ac0..30b9be39a1e7ecdf2e2c4fa6de1f0d67a8412299 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
@@ -126,10 +126,9 @@ class MODULES_EXPORT BaseAudioContext
size_t currentSampleFrame() const {
// TODO: What is the correct value for the current frame if the destination
// node has gone away? 0 is a valid frame.
- return m_destinationNode
- ? m_destinationNode->audioDestinationHandler()
- .currentSampleFrame()
- : 0;
+ return m_destinationNode ? m_destinationNode->audioDestinationHandler()
+ .currentSampleFrame()
+ : 0;
}
double currentTime() const {

Powered by Google App Engine
This is Rietveld 408576698