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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h

Issue 2454123002: Refactor image decoders to use 'colorSpace' instead of 'colorProfile' (Closed)
Patch Set: Fix legacy ImageFrame Created 4 years, 2 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/platform/graphics/gpu/WebGLImageConversion.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h b/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
index 0ac0ffb976779c20513aa434a59713f3fc3b1d9e..34ad7e5fe9c3819b386e7a0c1fd1943b0819fd42 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h
@@ -135,7 +135,7 @@ class PLATFORM_EXPORT WebGLImageConversion final {
ImageExtractor(Image*,
ImageHtmlDomSource,
bool premultiplyAlpha,
- bool ignoreGammaAndColorProfile);
+ bool ignoreColorSpace);
const void* imagePixelData() {
return m_imagePixelLocker ? m_imagePixelLocker->pixels() : nullptr;
@@ -152,7 +152,7 @@ class PLATFORM_EXPORT WebGLImageConversion final {
// Extracts the image and keeps track of its status, such as width, height,
// Source Alignment, format, AlphaOp, etc. This needs to lock the resources
// or relevant data if needed.
- void extractImage(bool premultiplyAlpha, bool ignoreGammaAndColorProfile);
+ void extractImage(bool premultiplyAlpha, bool ignoreColorSpace);
Image* m_image;
Optional<ImagePixelLocker> m_imagePixelLocker;

Powered by Google App Engine
This is Rietveld 408576698