| 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 ba81ee3a20eb003130bbfc994b4c0251fd9e6afe..49d48710b2756cca55471a8a750af25823302d29 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -946,6 +946,15 @@ WebLayerTreeView* ChromeClientImpl::GetWebLayerTreeView(LocalFrame* frame) {
|
| return web_frame->LocalRoot()->FrameWidget()->GetLayerTreeView();
|
| }
|
|
|
| +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,
|
|
|