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

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

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/MediaElementAudioSourceNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.h b/third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.h
index 12d3e39c535988a1d5ed3187bf5c4be4216a30c3..74ad15612593a6c4c208be7d1bb05b96a50684cd 100644
--- a/third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.h
@@ -69,7 +69,8 @@ class MediaElementAudioSourceHandler final : public AudioHandler {
// Must be called only on the main thread.
bool passesCurrentSrcCORSAccessCheck(const KURL& currentSrc);
- // Print warning if CORS restrictions cause MediaElementAudioSource to output zeroes.
+ // Print warning if CORS restrictions cause MediaElementAudioSource to output
+ // zeroes.
void printCORSMessage(const String& message);
// This Persistent doesn't make a reference cycle. The reference from
@@ -84,18 +85,19 @@ class MediaElementAudioSourceHandler final : public AudioHandler {
std::unique_ptr<MultiChannelResampler> m_multiChannelResampler;
// |m_passesCurrentSrcCORSAccessCheck| holds the value of
- // context()->getSecurityOrigin() && context()->getSecurityOrigin()->canRequest(mediaElement()->currentSrc()),
- // updated in the ctor and onCurrentSrcChanged() on the main thread and
- // used in passesCORSAccessCheck() on the audio thread,
- // protected by |m_processLock|.
+ // context()->getSecurityOrigin() &&
+ // context()->getSecurityOrigin()->canRequest(mediaElement()->currentSrc()),
+ // updated in the ctor and onCurrentSrcChanged() on the main thread and used
+ // in passesCORSAccessCheck() on the audio thread, protected by
+ // |m_processLock|.
bool m_passesCurrentSrcCORSAccessCheck;
- // Indicates if we need to print a CORS message if the current source has changed and we have no
- // access to it. Must be protected by |m_processLock|.
+ // Indicates if we need to print a CORS message if the current source has
+ // changed and we have no access to it. Must be protected by |m_processLock|.
bool m_maybePrintCORSMessage;
- // The value of mediaElement()->currentSrc().string() in the ctor and onCurrentSrcChanged().
- // Protected by |m_processLock|.
+ // The value of mediaElement()->currentSrc().string() in the ctor and
+ // onCurrentSrcChanged(). Protected by |m_processLock|.
String m_currentSrcString;
};

Powered by Google App Engine
This is Rietveld 408576698