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

Unified Diff: extensions/renderer/send_request_natives.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase 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 | « extensions/renderer/event_bindings.cc ('k') | extensions/utility/unpacker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/send_request_natives.cc
diff --git a/extensions/renderer/send_request_natives.cc b/extensions/renderer/send_request_natives.cc
index c27b533278ac3427f7db8bc17ca51d9bc8d67542..4a3281417e0bc64d0c6222cf236ac95a850acc47 100644
--- a/extensions/renderer/send_request_natives.cc
+++ b/extensions/renderer/send_request_natives.cc
@@ -53,7 +53,7 @@ void SendRequestNatives::StartRequest(
std::unique_ptr<base::Value> value_args(
converter->FromV8Value(args[1], context()->v8_context()));
- if (!value_args.get() || !value_args->IsType(base::Value::TYPE_LIST)) {
+ if (!value_args.get() || !value_args->IsType(base::Value::Type::LIST)) {
NOTREACHED() << "Unable to convert args passed to StartRequest";
return;
}
« no previous file with comments | « extensions/renderer/event_bindings.cc ('k') | extensions/utility/unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698