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

Unified Diff: third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp

Issue 2392443007: reflow comments in modules/[app_banner,encoding] (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/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
diff --git a/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp b/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
index 971b016a1741c53becaf0826674ed72edb41442b..931ce9903e743db2d7271404ff420fc7fac50cda 100644
--- a/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
+++ b/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
@@ -68,7 +68,8 @@ void SetSinkIdResolver::timerFired(TimerBase* timer) {
wrapUnique(new SetSinkIdCallbacks(this, *m_element, m_sinkId));
WebMediaPlayer* webMediaPlayer = m_element->webMediaPlayer();
if (webMediaPlayer) {
- // Using release() to transfer ownership because |webMediaPlayer| is a platform object that takes raw pointers
+ // Using release() to transfer ownership because |webMediaPlayer| is a
+ // platform object that takes raw pointers.
webMediaPlayer->setSinkId(m_sinkId,
WebSecurityOrigin(context->getSecurityOrigin()),
callbacks.release());
@@ -78,7 +79,8 @@ void SetSinkIdResolver::timerFired(TimerBase* timer) {
client->checkIfAudioSinkExistsAndIsAuthorized(context, m_sinkId,
std::move(callbacks));
} else {
- // The context has been detached. Impossible to get a security origin to check.
+ // The context has been detached. Impossible to get a security origin to
+ // check.
ASSERT(context->activeDOMObjectsAreStopped());
reject(DOMException::create(
SecurityError,

Powered by Google App Engine
This is Rietveld 408576698