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 e960c7c0f65ee69c4c0591504ac80bb1835d8cce..e5805778310549d5537fd8d1d1f3ab0b5e7dee42 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3542,6 +3542,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; |