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

Unified Diff: content/renderer/java/gin_java_function_invocation_helper.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
Index: content/renderer/java/gin_java_function_invocation_helper.cc
diff --git a/content/renderer/java/gin_java_function_invocation_helper.cc b/content/renderer/java/gin_java_function_invocation_helper.cc
index c1729e55c12408e619a0787b203d0cd5b24deeda..9bdf7442ab910500c40d74cefdbc93659f7365d5 100644
--- a/content/renderer/java/gin_java_function_invocation_helper.cc
+++ b/content/renderer/java/gin_java_function_invocation_helper.cc
@@ -78,7 +78,7 @@ v8::Local<v8::Value> GinJavaFunctionInvocationHelper::Invoke(
args->isolate(), GinJavaBridgeErrorToString(error))));
return v8::Undefined(args->isolate());
}
- if (!result->IsType(base::Value::TYPE_BINARY)) {
+ if (!result->IsType(base::Value::Type::BINARY)) {
return converter_->ToV8Value(result.get(),
args->isolate()->GetCurrentContext());
}
« no previous file with comments | « content/renderer/java/gin_java_bridge_value_converter_unittest.cc ('k') | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698