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 6921fb01f9e7f196dbfc6c3b03646d2d3247fa0c..5b446d150f2a1289afc6d3476cb36b6345ba030c 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3577,6 +3577,13 @@ WebInputMethodControllerImpl* WebViewImpl::getActiveWebInputMethodController() |
return WebInputMethodControllerImpl::fromFrame(focusedLocalFrameInWidget()); |
} |
+void WebViewImpl::requestDecode( |
+ sk_sp<SkImage> image, |
+ std::unique_ptr<WTF::Function<void(bool)>> callback) { |
+ m_layerTreeView->requestDecode(std::move(image), |
+ convertToBaseCallback(std::move(callback))); |
+} |
+ |
Color WebViewImpl::baseBackgroundColor() const { |
return m_baseBackgroundColorOverrideEnabled ? m_baseBackgroundColorOverride |
: m_baseBackgroundColor; |