diff options
author | sammc <sammc@chromium.org> | 2014-09-10 17:52:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-11 00:54:12 +0000 |
commit | da421fab9270e9fd48875f14e3ae9a001c6f0d77 (patch) | |
tree | 9a1dae677a164cefadfbfc23cf278b9fe32bdf59 /extensions/renderer/api | |
parent | afd3e88bf107971191bc5f45d24f7ba3b8106854 (diff) | |
download | chromium_src-da421fab9270e9fd48875f14e3ae9a001c6f0d77.zip chromium_src-da421fab9270e9fd48875f14e3ae9a001c6f0d77.tar.gz chromium_src-da421fab9270e9fd48875f14e3ae9a001c6f0d77.tar.bz2 |
Make some fields non-nullable in serial.mojom and data_stream.mojom.
This also removes some null checks for the now non-nullable fields.
BUG=407683
Review URL: https://codereview.chromium.org/562563002
Cr-Commit-Position: refs/heads/master@{#294277}
Diffstat (limited to 'extensions/renderer/api')
-rw-r--r-- | extensions/renderer/api/serial/serial_api_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/renderer/api/serial/serial_api_unittest.cc b/extensions/renderer/api/serial/serial_api_unittest.cc index a5690eb..6dc01eb 100644 --- a/extensions/renderer/api/serial/serial_api_unittest.cc +++ b/extensions/renderer/api/serial/serial_api_unittest.cc @@ -33,6 +33,7 @@ class FakeSerialDeviceEnumerator : public device::SerialDeviceEnumerator { result[1]->vendor_id = 1234; result[1]->product_id = 5678; result[2] = device::serial::DeviceInfo::New(); + result[2]->path = ""; result[2]->display_name = ""; return result.Pass(); } |