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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2512683003: Create ImageDecoder target color space (Closed)
Patch Set: Created 4 years, 1 month 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/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 8e1ca8bfedc3989487d8189cd7591f5b84bc9902..533f2bfa7bff47d32543cd956a695dbd30a8a17b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3045,7 +3045,7 @@ void WebViewImpl::setZoomFactorForDeviceScaleFactor(
void WebViewImpl::setDeviceColorProfile(const WebVector<char>& colorProfile) {
Vector<char> deviceProfile;
deviceProfile.append(colorProfile.data(), colorProfile.size());
- ImageDecoder::setTargetColorProfile(deviceProfile);
+ ImageDecoder::setGlobalTargetColorProfile(deviceProfile);
esprehn 2016/11/21 20:19:30 This is forcing a copy to convert from WTF::Vector
ccameron 2016/11/21 22:28:14 Updated to pass colorProfile directly (I wonder wh
}
void WebViewImpl::enableAutoResizeMode(const WebSize& minSize,

Powered by Google App Engine
This is Rietveld 408576698