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

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

Issue 2605743002: Use consistent types for ICC profiles (Closed)
Patch Set: No export for static lib Created 4 years 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 97b239bca9e784930ef1cdd502f10efc62b75382..9a0beb32e306b1f4cf825cd561af59fd85cf68af 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3032,8 +3032,8 @@ void WebViewImpl::setZoomFactorForDeviceScaleFactor(
setZoomLevel(m_zoomLevel);
}
-void WebViewImpl::setDeviceColorProfile(const WebVector<char>& colorProfile) {
- ColorBehavior::setGlobalTargetColorProfile(colorProfile);
+void WebViewImpl::setDeviceColorSpace(const gfx::ColorSpace& colorSpace) {
+ ColorBehavior::setGlobalTargetColorSpace(colorSpace.ToSkColorSpace());
}
void WebViewImpl::enableAutoResizeMode(const WebSize& minSize,

Powered by Google App Engine
This is Rietveld 408576698