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

Unified Diff: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.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/DeferredImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
index 44cc03621918fb73eed6523738d644b51dcc6e9a..f537818dff763662ffd2626a2e65aaead7bcadd2 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
@@ -73,7 +73,8 @@ std::unique_ptr<DeferredImageDecoder> DeferredImageDecoder::create(
std::unique_ptr<DeferredImageDecoder> decoder(
new DeferredImageDecoder(std::move(actualDecoder)));
- // Since we've just instantiated a fresh decoder, there's no need to reset its data.
+ // Since we've just instantiated a fresh decoder, there's no need to reset its
+ // data.
decoder->setDataInternal(data.release(), dataComplete, false);
return decoder;
@@ -262,7 +263,8 @@ void DeferredImageDecoder::activateLazyDecoding() {
m_size = m_actualDecoder->size();
m_hasHotSpot = m_actualDecoder->hotSpot(m_hotSpot);
m_filenameExtension = m_actualDecoder->filenameExtension();
- // JPEG images support YUV decoding: other decoders do not, WEBP could in future.
+ // JPEG images support YUV decoding; other decoders do not. (WebP could in the
+ // future.)
m_canYUVDecode = RuntimeEnabledFeatures::decodeToYUVEnabled() &&
(m_filenameExtension == "jpg");
m_hasColorProfile = m_actualDecoder->hasColorProfile();

Powered by Google App Engine
This is Rietveld 408576698