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

Unified Diff: third_party/WebKit/Source/platform/audio/PushPullFIFO.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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/platform/audio/PushPullFIFO.cpp
diff --git a/third_party/WebKit/Source/platform/audio/PushPullFIFO.cpp b/third_party/WebKit/Source/platform/audio/PushPullFIFO.cpp
index e23368ff5f6cb014dc9cad4f49df6f856e29eed1..6f7b96afc56bb48208fce17b147f365e334f51e5 100644
--- a/third_party/WebKit/Source/platform/audio/PushPullFIFO.cpp
+++ b/third_party/WebKit/Source/platform/audio/PushPullFIFO.cpp
@@ -14,7 +14,7 @@ namespace {
// Suppress the warning log if over/underflow happens more than 100 times.
const unsigned kMaxMessagesToLog = 100;
-}
+} // namespace
const size_t PushPullFIFO::kMaxFIFOLength = 65536;
@@ -166,8 +166,8 @@ size_t PushPullFIFO::Pull(AudioBus* output_bus, size_t frames_requested) {
// |frames_requested > frames_available_| means the frames in FIFO is not
// enough to fulfill the requested frames from the audio device.
return frames_requested > frames_available_
- ? frames_requested - frames_available_
- : 0;
+ ? frames_requested - frames_available_
+ : 0;
}
const PushPullFIFOStateForTest PushPullFIFO::GetStateForTest() const {

Powered by Google App Engine
This is Rietveld 408576698