Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp

Issue 2929493002: Plumb PaintImage for the img.decode instead of SkImage. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp
diff --git a/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp b/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp
index 9199de67f8449fe7007f2dcef54aae877c652fdb..136f83c421fbbda05cfe73bcac673214f0ec0130 100644
--- a/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp
+++ b/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp
@@ -254,9 +254,9 @@ void WebFrameWidgetBase::DidLosePointerLock() {
}
void WebFrameWidgetBase::RequestDecode(
- sk_sp<SkImage> image,
+ const PaintImage& image,
std::unique_ptr<WTF::Function<void(bool)>> callback) {
- View()->RequestDecode(std::move(image), std::move(callback));
+ View()->RequestDecode(image, std::move(callback));
}
// TODO(665924): Remove direct dispatches of mouse events from
« no previous file with comments | « third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h ('k') | third_party/WebKit/Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698