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

Unified Diff: src/codec/SkCodec.cpp

Issue 2340913002: Testing
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkCodec.cpp
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp
index 6f298700b712c6a4b0f39c5ccd1761048d1384e1..7e4ad5a7f78cb4c0699b8b479ba79bb24dfc13f9 100644
--- a/src/codec/SkCodec.cpp
+++ b/src/codec/SkCodec.cpp
@@ -388,10 +388,6 @@ void SkCodec::fillIncompleteImage(const SkImageInfo& info, void* dst, size_t row
SkSampler* sampler = this->getSampler(false);
int fillWidth = info.width();
- if (fOptions.fSubset) {
- fillWidth = fOptions.fSubset->width();
- }
-
switch (this->getScanlineOrder()) {
case kTopDown_SkScanlineOrder:
case kNone_SkScanlineOrder: {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698