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

Unified Diff: chrome/utility/image_decoder_impl.h

Issue 2483013002: Mojo C++ bindings: Remove more use_new_wrapper_types=false. (Closed)
Patch Set: . Created 4 years, 1 month 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/common/BUILD.gn ('k') | chrome/utility/image_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_decoder_impl.h
diff --git a/chrome/utility/image_decoder_impl.h b/chrome/utility/image_decoder_impl.h
index f0852f14c00244f4953ea538771b2b9ad943804f..7f82054d4c5ef5b70e37fa450363dcf4256bb650 100644
--- a/chrome/utility/image_decoder_impl.h
+++ b/chrome/utility/image_decoder_impl.h
@@ -15,11 +15,10 @@ class ImageDecoderImpl : public mojom::ImageDecoder {
~ImageDecoderImpl() override;
// Overridden from mojom::ImageDecoder:
- void DecodeImage(
- mojo::Array<uint8_t> encoded_data,
- mojom::ImageCodec codec,
- bool shrink_to_fit,
- const DecodeImageCallback& callback) override;
+ void DecodeImage(const std::vector<uint8_t>& encoded_data,
+ mojom::ImageCodec codec,
+ bool shrink_to_fit,
+ const DecodeImageCallback& callback) override;
private:
int64_t max_message_size_;
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/utility/image_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698