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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp

Issue 2389253002: reflow comments in modules/{webaudio,vr} (Closed)
Patch Set: . Created 4 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: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
index b20a4a32b8e2cc16a32cde1b36ed3189e3c8598f..3471a45c7734955b1093d2787f6e6a79273fd218 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
@@ -177,7 +177,8 @@ ScriptPromise OfflineAudioContext::startOfflineRendering(
"OfflineAudioContext in a stopped state."));
}
- // If the context is not in the suspended state (i.e. running), reject the promise.
+ // If the context is not in the suspended state (i.e. running), reject the
+ // promise.
if (contextState() != AudioContextState::Suspended) {
return ScriptPromise::rejectWithDOMException(
scriptState,
@@ -397,8 +398,8 @@ void OfflineAudioContext::resolveSuspendOnMainThread(size_t frame) {
// Wait until the suspend map is available for the removal.
AutoLocker locker(this);
- // If the context is going away, m_scheduledSuspends could have had all its entries removed.
- // Check for that here.
+ // If the context is going away, m_scheduledSuspends could have had all its
+ // entries removed. Check for that here.
if (m_scheduledSuspends.size()) {
// |frame| must exist in the map.
DCHECK(m_scheduledSuspends.contains(frame));
@@ -416,7 +417,8 @@ void OfflineAudioContext::rejectPendingResolvers() {
// Wait until the suspend map is available for removal.
AutoLocker locker(this);
- // Offline context is going away so reject any promises that are still pending.
+ // Offline context is going away so reject any promises that are still
+ // pending.
for (auto& pendingSuspendResolver : m_scheduledSuspends) {
pendingSuspendResolver.value->reject(

Powered by Google App Engine
This is Rietveld 408576698