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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: Rebase Created 3 years, 10 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/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index cc5f759bcadd68d46a03cae38af9152386eaad30..74e1cf0ed87d6831c0863639b0d398373ccfa7b3 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -4630,8 +4630,7 @@ PassRefPtr<Image> WebGLRenderingContextBase::drawImageIntoBuffer(
// TODO(ccameron): WebGL should produce sRGB images.
// https://crbug.com/672299
image->draw(buf->canvas(), flags, destRect, srcRect,
- DoNotRespectImageOrientation, Image::DoNotClampImageToSourceRect,
- ColorBehavior::transformToGlobalTarget());
+ DoNotRespectImageOrientation, Image::DoNotClampImageToSourceRect);
return buf->newImageSnapshot(PreferNoAcceleration,
SnapshotReasonWebGLDrawImageIntoBuffer);
}

Powered by Google App Engine
This is Rietveld 408576698