| 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 fde3271c895d1e1da9767984f818d3b535279019..fb872d7f6c1a466584463e2e937adf31e5563b6f 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -957,6 +957,15 @@ WebLocalFrameBase* ChromeClientImpl::GetWebLocalFrameBase(LocalFrame* frame) {
|
| return WebLocalFrameImpl::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,
|
|
|