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; |
}; |