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

Unified Diff: components/arc/set_wallpaper_delegate.h

Issue 2177833003: Avoid unnecessary copies in ImageDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change ArcWallpaperHandler to use new API. Created 4 years, 5 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/browser/image_decoder_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/set_wallpaper_delegate.h
diff --git a/components/arc/set_wallpaper_delegate.h b/components/arc/set_wallpaper_delegate.h
index 45edd377fafb871569e837552b7a70ea24697306..28e5ed038c5248a219b2b3f78e1294c8d4a7cd5a 100644
--- a/components/arc/set_wallpaper_delegate.h
+++ b/components/arc/set_wallpaper_delegate.h
@@ -17,7 +17,7 @@ class SetWallpaperDelegate {
virtual ~SetWallpaperDelegate() = default;
// Sets an image represented in JPEG format as the wallpaper.
- virtual void SetWallpaper(const std::vector<uint8_t>& jpeg_data) = 0;
+ virtual void SetWallpaper(std::vector<uint8_t> jpeg_data) = 0;
};
} // namespace arc
« no previous file with comments | « chrome/browser/image_decoder_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698