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

Unified Diff: chrome/utility/image_decoder_impl_unittest.cc

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/utility/image_decoder_impl.cc ('k') | components/contextual_search/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_decoder_impl_unittest.cc
diff --git a/chrome/utility/image_decoder_impl_unittest.cc b/chrome/utility/image_decoder_impl_unittest.cc
index f89977e86da5a5d4bc2986c0fa5a3c71005b740f..ea22b055f3782ae85e688c96d4b15560dd751991 100644
--- a/chrome/utility/image_decoder_impl_unittest.cc
+++ b/chrome/utility/image_decoder_impl_unittest.cc
@@ -41,8 +41,8 @@ class Request {
void DecodeImage(const std::vector<unsigned char>& image, bool shrink) {
decoder_->DecodeImage(
- mojo::Array<uint8_t>::From(image), ImageCodec::DEFAULT,
- shrink, base::Bind(&Request::OnRequestDone, base::Unretained(this)));
+ image, ImageCodec::DEFAULT, shrink,
+ base::Bind(&Request::OnRequestDone, base::Unretained(this)));
}
const SkBitmap& bitmap() const { return bitmap_; }
« no previous file with comments | « chrome/utility/image_decoder_impl.cc ('k') | components/contextual_search/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698