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

Unified Diff: extensions/browser/api/hid/hid_api.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix 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
Index: extensions/browser/api/hid/hid_api.cc
diff --git a/extensions/browser/api/hid/hid_api.cc b/extensions/browser/api/hid/hid_api.cc
index 48e0ac8dd4de797e2d91ecaa475aa09bb2b805c9..4031c3a0f426b918aee3e1d0733dfd142cbf2ce3 100644
--- a/extensions/browser/api/hid/hid_api.cc
+++ b/extensions/browser/api/hid/hid_api.cc
@@ -288,7 +288,7 @@ void HidReceiveFunction::OnFinished(bool success,
DCHECK_GE(size, 1u);
int report_id = reinterpret_cast<uint8_t*>(buffer->data())[0];
- Respond(TwoArguments(base::MakeUnique<base::FundamentalValue>(report_id),
+ Respond(TwoArguments(base::MakeUnique<base::Value>(report_id),
base::BinaryValue::CreateWithCopiedBuffer(
buffer->data() + 1, size - 1)));
} else {

Powered by Google App Engine
This is Rietveld 408576698