| 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 d462654cd638400414c9372a893c87fa63a5a80e..749ad090c0557be7eb81acdb340eea40f2a1334f 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -3326,22 +3326,9 @@ void WebViewImpl::setZoomFactorForDeviceScaleFactor(float zoomFactorForDeviceSca
|
|
|
| void WebViewImpl::setDeviceColorProfile(const WebVector<char>& colorProfile)
|
| {
|
| - if (!page())
|
| - return;
|
| -
|
| Vector<char> deviceProfile;
|
| deviceProfile.append(colorProfile.data(), colorProfile.size());
|
| ImageDecoder::setTargetColorProfile(deviceProfile);
|
| -
|
| - page()->setDeviceColorProfile(deviceProfile);
|
| -}
|
| -
|
| -void WebViewImpl::resetDeviceColorProfileForTesting()
|
| -{
|
| - if (!page())
|
| - return;
|
| -
|
| - page()->resetDeviceColorProfileForTesting();
|
| }
|
|
|
| void WebViewImpl::enableAutoResizeMode(const WebSize& minSize, const WebSize& maxSize)
|
|
|