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

Unified Diff: third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments 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/core/html/AutoplayUmaHelper.cpp
diff --git a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp
index e94f1f32fdfa0cd34da7b4908fd71178abd7e858..6fc004d2fe3589af076dceddddbc8aafa1854c49 100644
--- a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp
+++ b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp
@@ -57,7 +57,8 @@ void AutoplayUmaHelper::onAutoplayInitiated(AutoplaySource source) {
("Media.Video.Autoplay.Muted.Blocked", AutoplayBlockedReasonMax));
// Autoplay already initiated
- // TODO(zqzhang): how about having autoplay attribute and calling `play()` in the script?
+ // TODO(zqzhang): how about having autoplay attribute and calling `play()` in
+ // the script?
if (m_source != AutoplaySource::NumberOfSources)
return;
@@ -227,7 +228,8 @@ void AutoplayUmaHelper::maybeStopRecordingMutedVideoOffscreenDuration() {
static_cast<int64_t>(monotonicallyIncreasingTimeMS()) -
m_mutedVideoAutoplayOffscreenStartTimeMS;
- // Since histograms uses int32_t, the duration needs to be limited to std::numeric_limits<int32_t>::max().
+ // Since histograms uses int32_t, the duration needs to be limited to
+ // std::numeric_limits<int32_t>::max().
int32_t boundedTime = static_cast<int32_t>(
std::min<int64_t>(m_mutedVideoAutoplayOffscreenDurationMS,
std::numeric_limits<int32_t>::max()));
« no previous file with comments | « third_party/WebKit/Source/core/html/AutoplayUmaHelper.h ('k') | third_party/WebKit/Source/core/html/CollectionIndexCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698