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 dad2df3e4b2a54df47fbca1521b314aa31998885..73d9829d5e59eff306d97b188dd8be71e35d1c16 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3576,6 +3576,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; |