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

Unified Diff: chrome/renderer/extensions/enterprise_platform_keys_natives.cc

Issue 744723002: remove some calls to to-be-deprecated v8::Value::To* functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/renderer/benchmarking_extension.cc ('k') | content/renderer/chrome_object_extensions_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/enterprise_platform_keys_natives.cc
diff --git a/chrome/renderer/extensions/enterprise_platform_keys_natives.cc b/chrome/renderer/extensions/enterprise_platform_keys_natives.cc
index 9bccc8126e5125b655ffcfcc44d21697b87f3e37..9f84f7c603449ed682c72f41a61d904d9c952d2a 100644
--- a/chrome/renderer/extensions/enterprise_platform_keys_natives.cc
+++ b/chrome/renderer/extensions/enterprise_platform_keys_natives.cc
@@ -96,12 +96,9 @@ void EnterprisePlatformKeysNatives::NormalizeAlgorithm(
blink::WebString error_details;
int exception_code = 0;
- blink::WebCryptoAlgorithm algorithm =
- blink::normalizeCryptoAlgorithm(call_info[0]->ToObject(),
- operation,
- &exception_code,
- &error_details,
- call_info.GetIsolate());
+ blink::WebCryptoAlgorithm algorithm = blink::normalizeCryptoAlgorithm(
+ v8::Local<v8::Object>::Cast(call_info[0]), operation, &exception_code,
+ &error_details, call_info.GetIsolate());
scoped_ptr<base::DictionaryValue> algorithm_dict;
if (!algorithm.isNull())
« no previous file with comments | « chrome/renderer/benchmarking_extension.cc ('k') | content/renderer/chrome_object_extensions_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698