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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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
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 6f816ef7adb1cf4b1701fe1ab3eda5f146e88afb..0f8fb5064e31dd71401f542546893e1f2fa7571a 100644
--- a/extensions/browser/api/hid/hid_api.cc
+++ b/extensions/browser/api/hid/hid_api.cc
@@ -268,7 +268,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