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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.cpp

Issue 2398453002: Rewrap comments to 80 columns in Source/platform/graphics/. (Closed)
Patch Set: Review feedback 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/platform/graphics/ImageSource.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
index e48570d84f975a36e963c05e9400bb9578ecdf30..18ddce8b77d606926c5c4dce2f7dd673ce4bdc1a 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
@@ -51,8 +51,8 @@ bool ImageSource::setData(PassRefPtr<SharedBuffer> passData,
if (m_decoder) {
m_decoder->setData(data.release(), allDataReceived);
- // If the decoder is pre-instantiated, it means we've already validated the data/signature
- // at some point.
+ // If the decoder is pre-instantiated, it means we've already validated the
+ // data/signature at some point.
return true;
}
@@ -118,10 +118,10 @@ float ImageSource::frameDurationAtIndex(size_t index) const {
if (!m_decoder)
return 0;
- // Many annoying ads specify a 0 duration to make an image flash as quickly as possible.
- // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify
- // a duration of <= 10 ms. See <rdar://problem/7689300> and <http://webkit.org/b/36082>
- // for more information.
+ // Many annoying ads specify a 0 duration to make an image flash as quickly as
+ // possible. We follow Firefox's behavior and use a duration of 100 ms for any
+ // frames that specify a duration of <= 10 ms. See <rdar://problem/7689300>
+ // and <http://webkit.org/b/36082> for more information.
const float duration = m_decoder->frameDurationAtIndex(index) / 1000.0f;
if (duration < 0.011f)
return 0.100f;

Powered by Google App Engine
This is Rietveld 408576698