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 1330049612f6d59aee3d227ebb56d73fec288375..4fd3c4068ab5c028d8e9844ebc6f5d0d43f8f29a 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3024,9 +3024,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(colorProfile); |
} |
void WebViewImpl::enableAutoResizeMode(const WebSize& minSize, |