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

Unified Diff: chrome/utility/image_decoder_impl.cc

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « chrome/utility/image_decoder_impl.h ('k') | components/arc/bluetooth/arc_bluetooth_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_decoder_impl.cc
diff --git a/chrome/utility/image_decoder_impl.cc b/chrome/utility/image_decoder_impl.cc
index 4215e6e9a0ea5b4455f511a7da3a3a8425194df4..1b78b7f4108063d4d0b606ddbd1023ca918b2457 100644
--- a/chrome/utility/image_decoder_impl.cc
+++ b/chrome/utility/image_decoder_impl.cc
@@ -41,7 +41,7 @@ void ImageDecoderImpl::DecodeImage(
mojo::Array<uint8_t> encoded_data,
mojom::ImageCodec codec,
bool shrink_to_fit,
- const mojo::Callback<void(const SkBitmap&)>& callback) {
+ const DecodeImageCallback& callback) {
if (encoded_data.size() == 0) {
callback.Run(SkBitmap());
return;
« no previous file with comments | « chrome/utility/image_decoder_impl.h ('k') | components/arc/bluetooth/arc_bluetooth_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698