| Index: third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
|
| index 62808446a61219176f4e0113bd4f9eb8019f3222..0250cbf9621d50c0633ccfebbe664281db4e56ed 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
|
| @@ -31,8 +31,8 @@ ImagePixelLocker::ImagePixelLocker(sk_sp<const SkImage> image,
|
| SkColorType colorType)
|
| : m_image(std::move(image)) {
|
| // If the image has in-RAM pixels and their format matches, use them directly.
|
| - // TODO(fmalita): All current clients expect packed pixel rows. Maybe we could update them
|
| - // to support arbitrary rowBytes, and relax the check below.
|
| + // TODO(fmalita): All current clients expect packed pixel rows. Maybe we
|
| + // could update them to support arbitrary rowBytes, and relax the check below.
|
| SkPixmap pixmap;
|
| m_image->peekPixels(&pixmap);
|
| m_pixels = pixmap.addr();
|
|
|