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

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

Issue 2771813003: Prepare ImageData for color managed BaseRenderingContext2D::create/put/get-ImageData (Closed)
Patch Set: Addressing comments 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 6a958c40e72c3ad2b15a1df828ccb15010c27a08..9843ef9e5b4bf0742cfffd26f18dc4ee60170c16 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
+++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
@@ -545,7 +545,7 @@ TEST_F(ImageBitmapTest, ImageBitmapColorSpaceConversionImageData) {
// 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->getSkColorSpace().get(), colorSpace.get());
+ imageData->skColorSpace().get(), colorSpace.get());
std::unique_ptr<uint8_t[]> transformedPixel(
new uint8_t[imageInfo.bytesPerPixel()]());
colorSpaceXform->apply(colorFormat, transformedPixel.get(), colorFormat32,

Powered by Google App Engine
This is Rietveld 408576698