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

Unified Diff: ash/mus/shelf_delegate_mus.cc

Issue 1832133002: mus: Remove unnecessary const from property TypeConverter templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 4 years, 9 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 | « no previous file | ash/mus/sysui_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shelf_delegate_mus.cc
diff --git a/ash/mus/shelf_delegate_mus.cc b/ash/mus/shelf_delegate_mus.cc
index 5b06edaa1e699bd4fa827ec5b90e30cd4d540f05..7dbff29a0a7def32c2a02f5945762655bc9ac89a 100644
--- a/ash/mus/shelf_delegate_mus.cc
+++ b/ash/mus/shelf_delegate_mus.cc
@@ -85,8 +85,7 @@ class ShelfItemDelegateMus : public ShelfItemDelegate {
gfx::ImageSkia GetShelfIconFromBitmap(
const mojo::Array<uint8_t>& serialized_bitmap) {
// Convert the data to an ImageSkia.
- SkBitmap bitmap = mojo::ConvertTo<SkBitmap, const std::vector<uint8_t>>(
- serialized_bitmap.storage());
+ SkBitmap bitmap = mojo::ConvertTo<SkBitmap>(serialized_bitmap.storage());
gfx::ImageSkia icon_image;
if (!bitmap.isNull()) {
icon_image = gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
« no previous file with comments | « no previous file | ash/mus/sysui_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698