| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index 7a6cbf3137ee3b3a5e34619b23d8f5e1071ba626..caec68926138c4646c68adfddfa2f31fc13db3f2 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -976,6 +976,15 @@ WebRemoteFrameBase* ChromeClientImpl::GetWebRemoteFrameBase(
|
| return WebRemoteFrameImpl::FromFrame(frame);
|
| }
|
|
|
| +void ChromeClientImpl::RequestDecode(
|
| + LocalFrame* frame,
|
| + sk_sp<SkImage> image,
|
| + std::unique_ptr<WTF::Function<void(bool)>> callback) {
|
| + WebLocalFrameImpl* web_frame = WebLocalFrameImpl::FromFrame(frame);
|
| + web_frame->LocalRoot()->FrameWidget()->RequestDecode(std::move(image),
|
| + std::move(callback));
|
| +}
|
| +
|
| void ChromeClientImpl::SetEventListenerProperties(
|
| LocalFrame* frame,
|
| WebEventListenerClass event_class,
|
|
|