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

Unified Diff: third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp

Issue 2798523002: Revert of Prepare ImageData for color managed BaseRenderingContext2D::create/put/get-ImageData (Closed)
Patch Set: Created 3 years, 9 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/core/frame/ImageBitmapTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
index 9843ef9e5b4bf0742cfffd26f18dc4ee60170c16..6a958c40e72c3ad2b15a1df828ccb15010c27a08 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
+++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
@@ -545,7 +545,7 @@
// Transform the source pixel and check if the pixel from image bitmap has
// the same color information.
std::unique_ptr<SkColorSpaceXform> colorSpaceXform = SkColorSpaceXform::New(
- imageData->skColorSpace().get(), colorSpace.get());
+ imageData->getSkColorSpace().get(), colorSpace.get());
std::unique_ptr<uint8_t[]> transformedPixel(
new uint8_t[imageInfo.bytesPerPixel()]());
colorSpaceXform->apply(colorFormat, transformedPixel.get(), colorFormat32,
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmap.cpp ('k') | third_party/WebKit/Source/core/html/ImageData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698