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

Unified Diff: device/usb/usb_ids.h

Issue 2607893002: Save 166 KB of per-process private data by deleting 'const' (Closed)
Patch Set: Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_ids.h
diff --git a/device/usb/usb_ids.h b/device/usb/usb_ids.h
index c69aca41a11f735106e9a09dba90d96eddbb1070..7f8dbdded0d3088a06536f62f4432f9b52c1f576 100644
--- a/device/usb/usb_ids.h
+++ b/device/usb/usb_ids.h
@@ -13,14 +13,14 @@
namespace device {
struct UsbProduct {
- const uint16_t id;
+ uint16_t id;
const char* name;
};
struct UsbVendor {
- const uint16_t id;
+ uint16_t id;
const char* name;
- const size_t product_size;
+ size_t product_size;
const UsbProduct* products;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698