| Index: src/codec/SkBmpRLECodec.cpp
|
| diff --git a/src/codec/SkBmpRLECodec.cpp b/src/codec/SkBmpRLECodec.cpp
|
| index e215095266ab26cb53b3f27b79f95293c6d535de..823f81752c47c3ba8deea137ac84c1c68ae56376 100644
|
| --- a/src/codec/SkBmpRLECodec.cpp
|
| +++ b/src/codec/SkBmpRLECodec.cpp
|
| @@ -198,7 +198,7 @@ size_t SkBmpRLECodec::checkForMoreData() {
|
| void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes,
|
| const SkImageInfo& dstInfo, uint32_t x, uint32_t y,
|
| uint8_t index) {
|
| - if (is_coord_necessary(x, fSampleX, dstInfo.width())) {
|
| + if (is_coord_necessary(x, fSampleX, dstInfo.width(), 0)) {
|
| // Set the row
|
| uint32_t row = this->getDstRow(y, dstInfo.height());
|
|
|
| @@ -231,7 +231,7 @@ void SkBmpRLECodec::setRGBPixel(void* dst, size_t dstRowBytes,
|
| const SkImageInfo& dstInfo, uint32_t x,
|
| uint32_t y, uint8_t red, uint8_t green,
|
| uint8_t blue) {
|
| - if (is_coord_necessary(x, fSampleX, dstInfo.width())) {
|
| + if (is_coord_necessary(x, fSampleX, dstInfo.width(), 0)) {
|
| // Set the row
|
| uint32_t row = this->getDstRow(y, dstInfo.height());
|
|
|
|
|